Class XpsDocument

Class XpsDocument

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

マニュアルを提供するXPS文書の主なエンティティをカプセルするクラスすべてのXPS要素の方法

public sealed class XpsDocument : Document, IDisposable

Inheritance

object Document XpsDocument

Implements

IDisposable

相続人

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

Constructors

XpsDocument()

デフォルトページサイズの空のXPSドキュメントを作成します。

public XpsDocument()

XpsDocument(ストレッチ)

既存の XPS ドキュメントを開いて path に位置します。

public XpsDocument(string path)

Parameters

path string

文書の位置

XpsDocument(トップ > LoadOptions)

XPS ドキュメントとして path に位置する既存のドキュメントを開きます。

public XpsDocument(string path, LoadOptions options)

Parameters

path string

文書の位置

options LoadOptions

ドキュメント充電オプション

XpsDocument(ストリーム、LoadOptions)

XPS ドキュメントとして stream’ に保存されている既存のドキュメントをアップロードします。

public XpsDocument(Stream stream, LoadOptions options)

Parameters

stream Stream

ドキュメントストリーム

options LoadOptions

ドキュメント充電オプション

Properties

ActiveDocument

アクティブドキュメント番号を入力します。

public int ActiveDocument { get; }

不動産価値

int

ActivePage

アクティブドキュメント内のアクティブページ番号を取得します。

public int ActivePage { get; }

不動産価値

int

DocumentCount

XPS パッケージ内のドキュメントの数を返します。

public int DocumentCount { get; }

不動産価値

int

JobPrintTicket

返品/セットドキュメントの仕事印刷チケット

public JobPrintTicket JobPrintTicket { get; set; }

不動産価値

JobPrintTicket

Page

アクティブページのための Aspose.Page.XPS.XpsModel.XpsPage 例を返します。

public XpsPage Page { get; }

不動産価値

XpsPage

PageCount

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

public int PageCount { get; }

不動産価値

int

TotalPageCount

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

public int TotalPageCount { get; }

不動産価値

int

Utils

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

public DocumentUtils Utils { get; }

不動産価値

DocumentUtils

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

カンボジア追加

AddDocument(ボール)

デフォルトページサイズの空のドキュメントを追加します。

public void AddDocument(bool activate = true)

Parameters

activate bool

フラッグは、追加文書をアクティブとして選択するかどうかを示しています。

AddDocument(フラット、フラット、ボール)

空っぽのドキュメントを追加し、最初のページのサイズはwidth’ と height です。

public void AddDocument(float width, float height, bool activate = true)

Parameters

width float

最初のページの幅。

height float

最初のページの高さ

activate bool

フラッグは、追加文書をアクティブとして選択するかどうかを示しています。

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、XpsHyperlinkTarget)

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

public void AddOutlineEntry(string description, int outlineLevel, XpsHyperlinkTarget target)

Parameters

description string

入り口の説明

outlineLevel int

出力レベル。

target XpsHyperlinkTarget

入場ターゲット

AddPage(ボール)

デフォルトページサイズの文書に空のページを追加します。

public XpsPage AddPage(bool activate = true)

Parameters

activate bool

フラッグは、アクティブとして追加ページを選択するかどうかを示します。

Returns

XpsPage

追加ページ

AddPage(フラット、フラット、ボール)

文書に空っぽのページを追加し、指定されたwidth’ と height'.

public XpsPage AddPage(float width, float height, bool activate = true)

Parameters

width float

新しいページの広さ。

height float

新しいページの高さ

activate bool

フラッグは、アクティブとして追加ページを選択するかどうかを示します。

Returns

XpsPage

追加ページ

AddPage(XpsPage、ボール)

文書にページを追加します。

public XpsPage AddPage(XpsPage page, bool activate = true)

Parameters

page XpsPage

追加するページです。

activate bool

フラッグは、アクティブとして追加ページを選択するかどうかを示します。

Returns

XpsPage

追加ページ

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

新しい色

CreateFont(フォントスタイル、フォントスタイル)

新しいTrueTypeフォントリソースを作成します。

public XpsFont CreateFont(string fontFamily, FontStyle fontStyle)

Parameters

fontFamily string

フォントファミリー

fontStyle FontStyle

フォントスタイル

Returns

XpsFont

新しいTrueTypeフォントリソース。

CreateFont(Stream)

ストリームから新しい TrueType フォントリソースを作成します。

public XpsFont CreateFont(Stream stream)

Parameters

stream Stream

ICCのプロフィールを含む流れがリソースとして採用される。

Returns

XpsFont

新しいTrueTypeフォントリソース。

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

新グラディエント停止

CreateIccProfile(ストレッチ)

ICC プロフィール ファイルから新しい ICC プロフィール リソースを作成し、iccProfilePath に位置しています。

public XpsIccProfile CreateIccProfile(string iccProfilePath)

Parameters

iccProfilePath string

ICCのプロフィールへの道は、リソースとして取るべきです。

Returns

XpsIccProfile

新しいICCプロフィールリソース

CreateIccProfile(Stream)

新しい ICC プロフィールリソースを stream から作成します。

public XpsIccProfile CreateIccProfile(Stream stream)

Parameters

stream Stream

ICCのプロフィールを含む流れがリソースとして採用される。

Returns

XpsIccProfile

新しいICCプロフィールリソース

CreateImage(ストレッチ)

imagePath に位置する画像ファイルから新しい画像リソースを作成します。

public XpsImage CreateImage(string imagePath)

Parameters

imagePath string

イメージへの道は、リソースとして受け取る。

Returns

XpsImage

新しいイメージリソース

CreateImage(Stream)

stream から新しい画像リソースを作成します。

public XpsImage CreateImage(Stream stream)

Parameters

stream Stream

イメージを含む流れは、リソースとして受け取る。

Returns

XpsImage

新しいイメージリソース

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

新しい視覚ブリュッシュ

Dispose()

裁判所が存在する。

public void Dispose()

GetDocumentPrintTicket(インタ)

documentIndex でインデックスされた文書の印刷チケットを返します。

public DocumentPrintTicket GetDocumentPrintTicket(int documentIndex)

Parameters

documentIndex int

返品するチケットを印刷する文書のインデックス

Returns

DocumentPrintTicket

文書の印刷チケット

GetPagePrintTicket(int、 int)

pageIndex によってインデックスされたページの印刷チケットを documentIndex によってインデックスされたドキュメントに戻します。

public PagePrintTicket GetPagePrintTicket(int documentIndex, int pageIndex)

Parameters

documentIndex int

文書のインデックス

pageIndex int

印刷チケットを返すページのインデックス。

Returns

PagePrintTicket

ページの印刷チケット

入力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

カンボジア入り。

InsertDocument(ボール、ボール)

デフォルトページサイズの index ポジションを含む空の文書を入力します。

public void InsertDocument(int index, bool activate = true)

Parameters

index int

文書を入力する場所です。

activate bool

入力された文書がアクティブであるかどうかを示すフラッグ。

InsertDocument(フラット、フラット、ボール)

空っぽの文書を入力し、最初のページの次元width’ と height’ を index に置きます。

public void InsertDocument(int index, float width, float height, bool activate = true)

Parameters

index int

文書を入力する場所です。

width float

最初のページの幅。

height float

最初のページの高さ

activate bool

入力された文書がアクティブであるかどうかを示すフラッグ。

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

グリフを入れます。

InsertPage(ボール、ボール)

文書に空っぽのページを入力し、デフォルトページサイズ index’ の位置を表示します。

public XpsPage InsertPage(int index, bool activate = true)

Parameters

index int

ページが挿入される場所。

activate bool

フラッグは、入力されたページがアクティブであるかどうかを選択することを示しています。

Returns

XpsPage

入力ページ。

InsertPage(フラット、フラット、ボール)

文書に指定されたwidth’ と height’ と index’ の位置で空っぽのページを入力します。

public XpsPage InsertPage(int index, float width, float height, bool activate = true)

Parameters

index int

ページが挿入される場所。

width float

新しいページの広さ。

height float

新しいページの高さ

activate bool

フラッグは、入力されたページがアクティブであるかどうかを選択することを示しています。

Returns

XpsPage

入力ページ。

InsertPage(int、XpsPage、ボール)

文書のページを index’ の位置に挿入します。

public XpsPage InsertPage(int index, XpsPage page, bool activate = true)

Parameters

index int

ページが追加される場所。

page XpsPage

入力するページです。

activate bool

フラッグは、入力されたページがアクティブであるかどうかを選択することを示しています。

Returns

XpsPage

入力ページ。

InsertPath(トップ > XpsPathGeometry)

アクティブページに新しいルートを入力する index ポジション。

public XpsPath InsertPath(int index, XpsPathGeometry data)

Parameters

index int

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

data XpsPathGeometry

道路の地質学。

Returns

XpsPath

入り道。

Merge(ストレッチ( ), ストリップ)

複数の XPS ファイルを 1 つの XPS ドキュメントに組み合わせる。

public void Merge(string[] filesForMerge, string outXpsFilePath)

Parameters

filesForMerge string ( )

このドキュメントと合併するためのXPSファイル。

outXpsFilePath string

出力XPSファイルパス

Merge(ストレッチ( ), ストリーム)

複数の XPS ファイルを 1 つの XPS ドキュメントに組み合わせる。

public void Merge(string[] filesForMerge, Stream outStream)

Parameters

filesForMerge string ( )

このドキュメントと合併するためのXPSファイル。

outStream Stream

出力ストリームは、合併したXPS文書を保存する場所です。

MergeToPdf(ストレッチ( ), ストレッチ, PdfSaveOptions)

XPS ドキュメントを PDF に組み合わせる Aspose.Page.Device 例を使用します。

public void MergeToPdf(string[] filesForMerge, string outPdfFilePath, PdfSaveOptions options)

Parameters

filesForMerge string ( )

XPS ファイルは、このドキュメントと出力デバイスに合併します。

outPdfFilePath string

出力PDFファイルパスです。

options PdfSaveOptions

ドキュメンタリー保存オプション

MergeToPdf(ストレッチ( ), ストリーム、PdfSaveOptions)

XPS ドキュメントを PDF に組み合わせる Aspose.Page.Device 例を使用します。

public void MergeToPdf(string[] filesForMerge, Stream pdfStream, PdfSaveOptions options)

Parameters

filesForMerge string ( )

XPS ファイルは、このドキュメントと出力デバイスに合併します。

pdfStream Stream

出力PDFストリーム

options PdfSaveOptions

ドキュメンタリー保存オプション

取り除く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

削除元素

RemoveDocumentAt(インタ)

ドキュメントを index の位置で削除します。

public void RemoveDocumentAt(int index)

Parameters

index int

文書が削除される場所。

RemovePage(XpsPage)

文書からページを削除します。

public XpsPage RemovePage(XpsPage page)

Parameters

page XpsPage

削除するページ

Returns

XpsPage

削除ページ

RemovePageAt(インタ)

ドキュメントからページを index’ の位置で削除します。

public XpsPage RemovePageAt(int index)

Parameters

index int

ページが削除される場所。

Returns

XpsPage

削除ページ

Save(ストレッチ)

XPS ドキュメントを path に位置する XPS ファイルに保存します。

public void Save(string path)

Parameters

path string

文書の位置

Save(Stream)

XPSドキュメントをストリーミングに保存します。

public void Save(Stream stream)

Parameters

stream Stream

ストリーム XPS ドキュメントが保存されます。

SaveAsImage(ImageSaveOptions)

文書をビットマップ画像形式で保存します。

public byte[][][] SaveAsImage(ImageSaveOptions options)

Parameters

options ImageSaveOptions

文書をビットマップ画像形式で保存するオプション。

Returns

byte [ ] [ ]

結果の画像は、バイトの根源です. 最初の次元は内部文書です。2つ目は、内部文書のページです。

SaveAsPdf(ストレッチ、PdfSaveOptions)

ドキュメントをPDF形式で保存します。

public void SaveAsPdf(string outPdfFilePath, PdfSaveOptions options)

Parameters

outPdfFilePath string

出力PDFファイルパスです。

options PdfSaveOptions

ドキュメントをPDF形式で保存するオプション

SaveAsPdf(ストリーム、PdfSaveOptions)

ドキュメントをPDF形式で保存します。

public void SaveAsPdf(Stream stream, PdfSaveOptions options)

Parameters

stream Stream

出力 PDF ファイルを書くためのストリーム。

options PdfSaveOptions

ドキュメントをPDF形式で保存するオプション

SaveAsPs(ストレッチ、PSSaveOptions)

ドキュメントをPS形式で保存します。

public void SaveAsPs(string outPsFilePath, PsSaveOptions options)

Parameters

outPsFilePath string

出力PSファイルパス

options PsSaveOptions

ドキュメントをPS形式で保存するオプション

SaveAsPs(ストリーム、PSSaveOptions)

ドキュメントをPS形式で保存します。

public void SaveAsPs(Stream stream, PsSaveOptions options)

Parameters

stream Stream

出力PSファイルを書くためのストリーム。

options PsSaveOptions

ドキュメントをPS形式で保存するオプション

SelectActiveDocument(インタ)

編集のためのアクティブドキュメントを選択します。

public void SelectActiveDocument(int documentNumber)

Parameters

documentNumber int

文書番号です。

Exceptions

ArgumentException

Thrown whendocumentNumber’ is out of bound. コードクラス=“paramref”>ドキュメンタリーNumber’ が制限外です。

SelectActivePage(インタ)

編集のためのアクティブドキュメントページを選択します。

public XpsPage SelectActivePage(int pageNumber)

Parameters

pageNumber int

ページ番号

Returns

XpsPage

Aspose.Page.XPS.XpsModel.XpsPage アクティブなページの例。

Exceptions

ArgumentException

Thrown whenpageNumber’ is out of bound. コードクラス=“paramref”>pageNumber’ が制限外です。

SetDocumentPrintTicket(ドキュメンタリー、ドキュメンタリー)

printTicket’ を documentIndex によってインデックスされた文書にリンクします。

public void SetDocumentPrintTicket(int documentIndex, DocumentPrintTicket printTicket)

Parameters

documentIndex int

印刷チケットをリンクするための文書のインデックス。

printTicket DocumentPrintTicket

印刷チケットはリンク。

SetPagePrintTicket(int、int、PagePrintTicket)

printTicket’ を pageIndex によってインデックスされたページにリンクし、 documentIndex によってインデックスされた文書にリンクします。

public void SetPagePrintTicket(int documentIndex, int pageIndex, PagePrintTicket printTicket)

Parameters

documentIndex int

文書のインデックス

pageIndex int

印刷チケットをリンクするページのインデックス。

printTicket PagePrintTicket

印刷チケットはリンク。

 日本語