Class PageAPI

Class PageAPI

名称: Aspose.Page.XPS.Features.EventBasedModifications 合計: Aspose.Page.dll (25.4.0)

The Page エレメント変更 API

public class PageAPI : IModificationAPI

Inheritance

object PageAPI

Implements

IModificationAPI

相続人

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

Height

返信/ページの高さを設定し、実際の数字として表現します。効果的なコーディネートスペースのユニット

public float Height { get; set; }

不動産価値

float

PageCount

アクティブドキュメントのページ数を返します。

public int PageCount { get; }

不動産価値

int

TotalPageCount

XPS ドキュメント内のすべてのドキュメントのページ数を返します。

public int TotalPageCount { get; }

不動産価値

int

Utils

XPS 操作 API を超えるユーティリティを提供するオブジェクトを取得します。

public DocumentUtils Utils { get; }

不動産価値

DocumentUtils

Width

返信/ページの幅を設定し、実際の番号として表示されます。効果的なコーディネートスペースのユニット

public float Width { get; set; }

不動産価値

float

Methods

追加T>(T)

コンテンツ要素(Canvas、Path、またはGlyphs)を追加します。

public T Add<t>(T element) where T : XpsContentElement

Parameters

element T

追加する要素

Returns

T

追加要素

タイプパラメーター

T

要素の種類

AddCanvas()

新しいカンバをページに追加します。

public XpsCanvas AddCanvas()

Returns

XpsCanvas

カンボジア追加

AddGlyphs(フラット、フラット、フラット、フラット、フラット、フラット)

新しいグリフをページに追加します。

public XpsGlyphs AddGlyphs(string fontFamily, float fontRenderingEmSize, FontStyle fontStyle, float originX, float originY, string unicodeString)

Parameters

fontFamily string

フォントファミリー

fontRenderingEmSize float

フォントサイズ

fontStyle FontStyle

フォントスタイル

originX float

Glyphs の起源 X コーディネート

originY float

Glyphs 起源 Y コーディネート

unicodeString string

印刷するためのストレッチ

Returns

XpsGlyphs

グリフを追加。

AddGlyphs(XpsFont、フラット、フラット、ストレッチ)

新しいグリフをページに追加します。

public XpsGlyphs AddGlyphs(XpsFont font, float fontRenderingEmSize, float originX, float originY, string unicodeString)

Parameters

font XpsFont

フォントリソース

fontRenderingEmSize float

フォントサイズ

originX float

Glyphs の起源 X コーディネート

originY float

Glyphs 起源 Y コーディネート

unicodeString string

印刷するためのストレッチ

Returns

XpsGlyphs

グリフを追加。

AddOutlineEntry(ストレッチ、 int、 int)

文書にオリジナルエントリーを追加します。

public void AddOutlineEntry(string description, int outlineLevel, int targetPageNumber)

Parameters

description string

入り口の説明

outlineLevel int

出力レベル。

targetPageNumber int

ターゲットページ番号

AddPath(XpsPathGeometry)

新しい道をページに追加します。

public XpsPath AddPath(XpsPathGeometry data)

Parameters

data XpsPathGeometry

道路の地質学。

Returns

XpsPath

追加コース

CreateArcSegment(PointF、SizeF、フラット、ボール、XpsSweepDirection、ボール)

新しいエリプティックアークセグメントを作成します。

public XpsArcSegment CreateArcSegment(PointF point, SizeF size, float rotationAngle, bool isLargeArc, XpsSweepDirection sweepDirection, bool isStroked = true)

Parameters

point PointF

エリプティックアルクの終点。

size SizeF

エリプティック弓のXとYのラジオは、X、Yのカップルとして。

rotationAngle float

エリプスが現在のコーディネートシステムに比べてどのように回転しているかを示す。

isLargeArc bool

アルクが180またはそれ以上のスイッチで引き出されているかどうかを決定します。

sweepDirection XpsSweepDirection

弓が引っ張られている方向。

isStroked bool

道路のこのセグメントの衝撃が引き出されているかどうかを指定します。

Returns

XpsArcSegment

新しいエリプティックアークセグメント。

CreateCanvas()

新しいカンバを作る。

public XpsCanvas CreateCanvas()

Returns

XpsCanvas

新しいカナダ

CreateColor(Color)

新しい色を作る。

public XpsColor CreateColor(Color color)

Parameters

color Color

RGB色の先住民色の例です。

Returns

XpsColor

新しい色

CreateColor(int、 int、 int、 int、 int)

sRGB色スペースで新しい色を作成します。

public XpsColor CreateColor(int a, int r, int g, int b)

Parameters

a int

アルファ色の構成要素

r int

赤色の構成要素。

g int

緑色のコンポーネント

b int

青色のコンポーネント

Returns

XpsColor

新しい色

CreateColor(int、 int、 int)

sRGB色スペースで新しい色を作成します。

public XpsColor CreateColor(int r, int g, int b)

Parameters

r int

赤色の構成要素。

g int

緑色のコンポーネント

b int

青色のコンポーネント

Returns

XpsColor

新しい色

CreateColor(フラット、フラット、フラット)

scRGB色スペースで新しい色を作成します。

public XpsColor CreateColor(float a, float r, float g, float b)

Parameters

a float

アルファ色の構成要素

r float

赤色の構成要素。

g float

緑色のコンポーネント

b float

青色のコンポーネント

Returns

XpsColor

新しい色

CreateColor(フラット、フラット、フラット)

scRGB色スペースで新しい色を作成します。

public XpsColor CreateColor(float r, float g, float b)

Parameters

r float

赤色の構成要素。

g float

緑色のコンポーネント

b float

青色のコンポーネント

Returns

XpsColor

新しい色

CreateColor(パラマスフラット Params Float[])

ICCベースの色スペースで新しい色を作成します。

public XpsColor CreateColor(string path, params float[] components)

Parameters

path string

ICCのプロフィールへの道

components float ( )

色の構成要素

Returns

XpsColor

新しい色

CreateColor(XpsIccプロファイル、パラムフラット[])

ICCベースの色スペースで新しい色を作成します。

public XpsColor CreateColor(XpsIccProfile iccProfile, params float[] components)

Parameters

iccProfile XpsIccProfile

ICCプロフィールリソース

components float ( )

色の構成要素

Returns

XpsColor

新しい色

CreateGlyphs(フラット、フラット、フラット、フラット、フラット、フラット)

新しいグリフを作る。

public XpsGlyphs CreateGlyphs(string fontFamily, float fontRenderingEmSize, FontStyle fontStyle, float originX, float originY, string unicodeString)

Parameters

fontFamily string

フォントファミリー

fontRenderingEmSize float

フォントサイズ

fontStyle FontStyle

フォントスタイル

originX float

Glyphs の起源 X コーディネート

originY float

Glyphs 起源 Y コーディネート

unicodeString string

印刷するためのストレッチ

Returns

XpsGlyphs

新しいグリフ

CreateGlyphs(XpsFont、フラット、フラット、ストレッチ)

新しいグリフを作る。

public XpsGlyphs CreateGlyphs(XpsFont font, float fontRenderingEmSize, float originX, float originY, string unicodeString)

Parameters

font XpsFont

フォントリソース

fontRenderingEmSize float

フォントサイズ

originX float

Glyphs の起源 X コーディネート

originY float

Glyphs 起源 Y コーディネート

unicodeString string

印刷するためのストレッチ

Returns

XpsGlyphs

新しいグリフ

CreateGradientStop(XpsColor、フラット)

新しいグラディエントステップを作ります。

public XpsGradientStop CreateGradientStop(XpsColor color, float offset)

Parameters

color XpsColor

グラディントは色を止める。

offset float

グラディエントが補償。

Returns

XpsGradientStop

新グラディエント停止

CreateGradientStop(色、フラット)

新しいグラディエントステップを作ります。

public XpsGradientStop CreateGradientStop(Color color, float offset)

Parameters

color Color

グラディントは色を止める。

offset float

グラディエントが補償。

Returns

XpsGradientStop

新グラディエント停止

CreateImageBrush(XpsImage、RectangleF、RectangleF)

新しい画像ブラッシュを作成します。

public XpsImageBrush CreateImageBrush(XpsImage image, RectangleF viewbox, RectangleF viewport)

Parameters

image XpsImage

イメージリソースです。

viewbox RectangleF

ブラッシュのソースコンテンツの位置と次元

viewport RectangleF

プレミアムブリュッシュのコーディネートスペースを含む地域ブレスレットが適用される地域を満たすために(おそらく繰り返し)適用されるテーブル

Returns

XpsImageBrush

新しい画像ブラッシュ

CreateImageBrush(リクエスト、リクエスト、リクエスト)

新しい画像ブラッシュを作成します。

public XpsImageBrush CreateImageBrush(string imagePath, RectangleF viewbox, RectangleF viewport)

Parameters

imagePath string

画像への道は、ブリュッシュティールのように取る。

viewbox RectangleF

ブラッシュのソースコンテンツの位置と次元

viewport RectangleF

プレミアムブリュッシュのコーディネートスペースを含む地域ブレスレットが適用される地域を満たすために(おそらく繰り返し)適用されるテーブル

Returns

XpsImageBrush

新しい画像ブラッシュ

CreateLinearGradientBrush(トップ > xpsgradientstop>, ポイントF、ポイントF)

新しい線形グラディエントブリュッシュを作成します。

public XpsLinearGradientBrush CreateLinearGradientBrush(List<xpsgradientstop> gradientStops, PointF startPoint, PointF endPoint)

Parameters

gradientStops List < XpsGradientStop >

グラディエントのリストが止まります。

startPoint PointF

線形グラディエントの出発点

endPoint PointF

線形グラディエントの最終点。

Returns

XpsLinearGradientBrush

新しいグラディエントブリュッシュ

CreateLinearGradientBrush(ポイントF、ポイントF)

新しい線形グラディエントブリュッシュを作成します。

public XpsLinearGradientBrush CreateLinearGradientBrush(PointF startPoint, PointF endPoint)

Parameters

startPoint PointF

線形グラディエントの出発点

endPoint PointF

線形グラディエントの最終点。

Returns

XpsLinearGradientBrush

新しいグラディエントブリュッシュ

CreateMatrix(航海、航海、航海、航海、航海)

新しいアフィナ・トランスフォーマーション・マトリックスを作り出す。

public XpsMatrix CreateMatrix(float m11, float m12, float m21, float m22, float m31, float m32)

Parameters

m11 float

要素11。

m12 float

エレメント12

m21 float

エレメント21

m22 float

要素22

m31 float

要素31

m32 float

要素32

Returns

XpsMatrix

新しいアフィナ・トランスフォーマーション・マトリックス

CreatePath(XpsPathGeometry)

新しい道を創る。

public XpsPath CreatePath(XpsPathGeometry data)

Parameters

data XpsPathGeometry

道路の地質学。

Returns

XpsPath

新しい道

CreatePathFigure(ボール、ボール)

新しい道の形を作り出す。

public XpsPathFigure CreatePathFigure(PointF startPoint, bool isClosed = false)

Parameters

startPoint PointF

道の数字の最初のセグメントの出発点。

isClosed bool

道が閉じられているかどうかを指定します. 真実に設定された場合、衝撃は引き出されます。「閉鎖」、すなわち、道の数字の最後のセグメントの最後のポイントは、スタートポイントの属性に指定されたポイント、そうでなければストライキは「オープン」と引き出され、最後のポイントは、出発点に接続されない場合のみ適用されます。脳卒中を指定するパス要素で使用されます。

Returns

XpsPathFigure

新しい道のり。

CreatePathFigure(ポイントF、リスト, ボール)

新しい道の形を作り出す。

public XpsPathFigure CreatePathFigure(PointF startPoint, List<xpspathsegment> segments, bool isClosed = false)

Parameters

startPoint PointF

道の数字の最初のセグメントの出発点。

segments List < XpsPathSegment >

コースセグメントのリスト

isClosed bool

道が閉じられているかどうかを指定します. 真実に設定された場合、衝撃は引き出されます。「閉鎖」、すなわち、道の数字の最後のセグメントの最後のポイントは、スタートポイントの属性に指定されたポイント、そうでなければストライキは「オープン」と引き出され、最後のポイントは、出発点に接続されない場合のみ適用されます。脳卒中を指定するパス要素で使用されます。

Returns

XpsPathFigure

新しい道のり。

CreatePathGeometry(ストレッチ)

短縮形状で指定された新しい路線地理を生成します。

public XpsPathGeometry CreatePathGeometry(string abbreviatedGeometry)

Parameters

abbreviatedGeometry string

短縮形態の道路地質学。

Returns

XpsPathGeometry

新しい道の地質学

CreatePathGeometry()

新しい道の地質を創造する。

public XpsPathGeometry CreatePathGeometry()

Returns

XpsPathGeometry

新しい道の地質学

CreatePathGeometry(トップ > xpspathfigure>)

新しい路線地理学を作成し、指定された路線数字のリストを作成します。

public XpsPathGeometry CreatePathGeometry(List<xpspathfigure> pathFigures)

Parameters

pathFigures List < XpsPathFigure >

路線数のリスト。

Returns

XpsPathGeometry

新しい道の地質学

CreatePolyBezierSegment(ポイントF( ), ボール)

キューブベジエル曲線の新しいセットを作成します。

public XpsPolyBezierSegment CreatePolyBezierSegment(PointF[] points, bool isStroked = true)

Parameters

points PointF ( )

複数のBézierセグメントのコントロールポイント

isStroked bool

道路のこのセグメントの衝撃が引き出されているかどうかを指定します。

Returns

XpsPolyBezierSegment

新しいキューブのBézier曲線セグメント。

CreatePolyLineSegment(ポイントF( ), ボール)

個々の垂直の任意数を含む新しい多重図を作成します。

public XpsPolyLineSegment CreatePolyLineSegment(PointF[] points, bool isStroked = true)

Parameters

points PointF ( )

ポリラインセグメントを定義する複数のセグメントのための座標のセット。

isStroked bool

道路のこのセグメントの衝撃が引き出されているかどうかを指定します。

Returns

XpsPolyLineSegment

新しいポリゴナルデザインセグメント。

CreatePolyQuadraticBezierSegment(ポイントF( ), ボール)

道路図の前点から四角形ベジエル曲線の新しいセットを作成し、セットを通じて指示されたコントロールポイントを使用する。

public XpsPolyQuadraticBezierSegment CreatePolyQuadraticBezierSegment(PointF[] points, bool isStroked = true)

Parameters

points PointF ( )

コントロールポイント 複数の四角形ベジアセグメント

isStroked bool

道路のこのセグメントの衝撃が引き出されているかどうかを指定します。

Returns

XpsPolyQuadraticBezierSegment

新しい四角形ベジエル曲線セグメント。

CreateRadialGradientBrush(トップ > xpsgradientstop>, ポイントF、ポイントF、フラット、フラット)

新しい放射線グラディエントブリュッシュを作ります。

public XpsRadialGradientBrush CreateRadialGradientBrush(List<xpsgradientstop> gradientStops, PointF center, PointF gradientOrigin, float radiusX, float radiusY)

Parameters

gradientStops List < XpsGradientStop >

グラディエントのリストが止まります。

center PointF

放射線グラディエントの中心点(すなわち、エリプスの中心点)

gradientOrigin PointF

放射線グラディエントの出発点

radiusX float

ラジオは、ラジオグラディエントを定義するエリプスのX次元にあります。

radiusY float

ラジオは、ラジオグラディエントを定義するエリプスの y 次元にあります。

Returns

XpsRadialGradientBrush

新しいラジアルグラディエントブリュッシュ

CreateRadialGradientBrush(ポイントF、ポイントF、フラット、フラット)

新しい放射線グラディエントブリュッシュを作ります。

public XpsRadialGradientBrush CreateRadialGradientBrush(PointF center, PointF gradientOrigin, float radiusX, float radiusY)

Parameters

center PointF

放射線グラディエントの中心点(すなわち、エリプスの中心点)

gradientOrigin PointF

放射線グラディエントの出発点

radiusX float

ラジオは、ラジオグラディエントを定義するエリプスのX次元にあります。

radiusY float

ラジオは、ラジオグラディエントを定義するエリプスの y 次元にあります。

Returns

XpsRadialGradientBrush

新しいラジアルグラディエントブリュッシュ

CreateSolidColorBrush(XpsColor)

新しい固体色のブレスレットを作ります。

public XpsSolidColorBrush CreateSolidColorBrush(XpsColor color)

Parameters

color XpsColor

満たされた要素の色。

Returns

XpsSolidColorBrush

新しい固体色のブリュッシュ

CreateSolidColorBrush(Color)

新しい固体色のブレスレットを作ります。

public XpsSolidColorBrush CreateSolidColorBrush(Color color)

Parameters

color Color

満たされた要素の色。

Returns

XpsSolidColorBrush

新しい固体色のブリュッシュ

CreateVisualBrush(XpsContentエレメント、RectangleF、RectangleF)

新しいビジュアルブリュッシュを作ります。

public XpsVisualBrush CreateVisualBrush(XpsContentElement element, RectangleF viewbox, RectangleF viewport)

Parameters

element XpsContentElement

XPS 要素(Canvas、Path、Glyphs)は、ビジュアル 属性からビジュアル ブラシのためのものです。

viewbox RectangleF

ブラッシュのソースコンテンツの位置と次元

viewport RectangleF

プレミアムブリュッシュのコーディネートスペースを含む地域ブレスレットが適用される地域を満たすために(おそらく繰り返し)適用されるテーブル

Returns

XpsVisualBrush

新しい視覚ブリュッシュ

入力T>(T、T、T)

ページに元素(Canvas、Path、またはGlyphs)を入力して index の位置に表示します。

public T Insert<t>(int index, T element) where T : XpsContentElement

Parameters

index int

<コードクラス=“paramref”>エレメント」を入力するポジション

element T

入力する要素。

Returns

T

入力元素

タイプパラメーター

T

要素の種類

InsertCanvas(インタ)

index’ の位置でページに新しいカンバを入力します。

public XpsCanvas InsertCanvas(int index)

Parameters

index int

新しいカンバを入れるべき位置。

Returns

XpsCanvas

カンボジア入り。

InsertGlyphs(フラット、フラット、フラット、フラット、フラット、フラット)

新しいグリフをページに index’ の位置に挿入します。

public XpsGlyphs InsertGlyphs(int index, string fontFamily, float fontSize, FontStyle fontStyle, float originX, float originY, string unicodeString)

Parameters

index int

新しいグリフが挿入される位置。

fontFamily string

フォントファミリー

fontSize float

フォントサイズ

fontStyle FontStyle

フォントスタイル

originX float

Glyphs の起源 X コーディネート

originY float

Glyphs 起源 Y コーディネート

unicodeString string

印刷するためのストレッチ

Returns

XpsGlyphs

グリフを入れます。

InsertGlyphs(int、XpsFont、フラット、フラット、ストレッチ)

新しいグリフをページに index’ の位置に挿入します。

public XpsGlyphs InsertGlyphs(int index, XpsFont font, float fontSize, float originX, float originY, string unicodeString)

Parameters

index int

新しいグリフが挿入される位置。

font XpsFont

フォントリソース

fontSize float

フォントサイズ

originX float

Glyphs の起源 X コーディネート

originY float

Glyphs 起源 Y コーディネート

unicodeString string

印刷するためのストレッチ

Returns

XpsGlyphs

グリフを入れます。

InsertPath(トップ > XpsPathGeometry)

ページへの新しいルートを index の位置に挿入します。

public XpsPath InsertPath(int index, XpsPathGeometry data)

Parameters

index int

新しい道を導入する場所です。

data XpsPathGeometry

道路の地質学。

Returns

XpsPath

入り道。

取り除くT>(T)

ページからエレメントを削除します。

public T Remove<t>(T element) where T : XpsContentElement

Parameters

element T

削除する要素

Returns

T

削除元素

タイプパラメーター

T

要素の種類

RemoveAt(インタ)

ページから index の位置にある要素を削除します。

public XpsContentElement RemoveAt(int index)

Parameters

index int

どちらの要素が取り除かれるか。

Returns

XpsContentElement

削除元素

 日本語