Aspose::Page::XPS::XpsDocument クラス

XpsDocument class

XPS ドキュメントの主要エンティティをカプセル化し、任意の XPS 要素を操作するメソッドを提供するクラス。

class XpsDocument : public Aspose::Page::Document,
                    public System::IDisposable

メソッド

メソッド説明
Add(T)コンテンツ要素(Canvas、Path、または Glyphs)を追加します。
AddCanvas()アクティブなページに新しいキャンバスを追加します。
AddDocument(bool)デフォルトのページサイズで空のドキュメントを追加します。
AddDocument(float, float, bool)最初のページの寸法 widthheight を持つ空のドキュメントを追加します。
AddGlyphs(System::String, float, System::Drawing::FontStyle, float, float, System::String)アクティブなページに新しいグリフを追加します。
AddGlyphs(System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String)アクティブなページに新しいグリフを追加します。
AddOutlineEntry(System::String, int32_t, System::SharedPtr<XpsModel::XpsHyperlinkTarget>)ドキュメントにアウトラインエントリを追加します。
AddPage(bool)デフォルトのページサイズでドキュメントに空のページを追加します。
AddPage(float, float, bool)指定された widthheight を持つ空のページをドキュメントに追加します。
AddPage(System::SharedPtr<XpsModel::XpsPage>, bool)ドキュメントにページを追加します。
AddPath(System::SharedPtr<XpsModel::XpsPathGeometry>)アクティブなページに新しいパスを追加します。
Assert()
CreateArcSegment(System::Drawing::PointF, System::Drawing::SizeF, float, bool, XpsModel::XpsSweepDirection, bool)新しい楕円弧セグメントを作成します。
CreateCanvas()新しいキャンバスを作成します。
CreateColor(System::Drawing::Color)新しい色を作成します。
CreateColor(int32_t, int32_t, int32_t, int32_t)sRGB カラースペースで新しい色を作成します。
CreateColor(int32_t, int32_t, int32_t)sRGB カラースペースで新しい色を作成します。
CreateColor(float, float, float, float)scRGB カラースペースで新しい色を作成します。
CreateColor(float, float, float)scRGB カラースペースで新しい色を作成します。
CreateColor(System::String, const System::ArrayPtr<float>&)ICC ベースのカラースペースで新しい色を作成します。
CreateColor(System::SharedPtr<XpsModel::XpsIccProfile>, const System::ArrayPtr<float>&)ICC ベースのカラースペースで新しい色を作成します。
CreateFont(System::String, System::Drawing::FontStyle)TrueType フォントリソースを新規作成します。
CreateFont(System::SharedPtr<System::IO::Stream>)ストリームから新しい TrueType フォントリソースを作成します。
CreateGlyphs(System::String, float, System::Drawing::FontStyle, float, float, System::String)新しいグリフを作成します。
CreateGlyphs(System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String)新しいグリフを作成します。
CreateGradientStop(System::SharedPtr<XpsModel::XpsColor>, float)新しいグラデーション ストップを作成します。
CreateGradientStop(System::Drawing::Color, float)新しいグラデーション ストップを作成します。
CreateIccProfile(System::String)iccProfilePath にある ICC プロファイルファイルから新しい ICC プロファイルリソースを作成します。
CreateIccProfile(System::SharedPtr<System::IO::Stream>)stream から新しい ICC プロファイルリソースを作成します。
CreateImage(System::String)imagePath にある画像ファイルから新しい画像リソースを作成します。
CreateImage(System::SharedPtr<System::IO::Stream>)stream から新しい画像リソースを作成します。
CreateImageBrush(System::SharedPtr<XpsModel::XpsImage>, System::Drawing::RectangleF, System::Drawing::RectangleF)新しい画像ブラシを作成します。
CreateImageBrush(System::String, System::Drawing::RectangleF, System::Drawing::RectangleF)新しい画像ブラシを作成します。
CreateLinearGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF)新しい線形グラデーションブラシを作成します。
CreateLinearGradientBrush(System::Drawing::PointF, System::Drawing::PointF)新しい線形グラデーションブラシを作成します。
CreateMatrix(float, float, float, float, float, float)新しいアフィン変換行列を作成します。
CreatePath(System::SharedPtr<XpsModel::XpsPathGeometry>)新しいパスを作成します。
CreatePathFigure(System::Drawing::PointF, bool)新しいパス図形を作成します。
CreatePathFigure(System::Drawing::PointF, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathSegment>>>, bool)新しいパス図形を作成します。
CreatePathGeometry(System::String)省略形で指定された新しいパスジオメトリを作成します。
CreatePathGeometry()新しいパスジオメトリを作成します。
CreatePathGeometry(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathFigure>>>)指定されたパス図形のリストで新しいパスジオメトリを作成します。
CreatePolyBezierSegment(System::ArrayPtr<System::Drawing::PointF>, bool)新しい3次ベジェ曲線のセットを作成します。
CreatePolyLineSegment(System::ArrayPtr<System::Drawing::PointF>, bool)任意の数の個別頂点を含む新しい多角形描画を作成します。
CreatePolyQuadraticBezierSegment(System::ArrayPtr<System::Drawing::PointF>, bool)パス図形の前の点から頂点のセットを通り、指定された制御点を使用して新しい2次ベジェ曲線のセットを作成します。
CreateRadialGradientBrush(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsGradientStop>>>, System::Drawing::PointF, System::Drawing::PointF, float, float)新しい放射状グラデーションブラシを作成します。
CreateRadialGradientBrush(System::Drawing::PointF, System::Drawing::PointF, float, float)新しい放射状グラデーションブラシを作成します。
CreateSolidColorBrush(System::SharedPtr<XpsModel::XpsColor>)新しい単色ブラシを作成します。
CreateSolidColorBrush(System::Drawing::Color)新しい単色ブラシを作成します。
CreateVisualBrush(System::SharedPtr<XpsModel::XpsContentElement>, System::Drawing::RectangleF, System::Drawing::RectangleF)新しいビジュアルブラシを作成します。
Dispose() overrideインスタンスを破棄します。
get_ActiveDocument()アクティブなドキュメント番号を取得します。
get_ActivePage()アクティブなドキュメント内のアクティブページ番号を取得します。
get_DocumentCount()XPS パッケージ内のドキュメント数を返します。
get_JobPrintTicket()ドキュメントのジョブ印刷チケットを取得/設定します。
get_Page()アクティブページ用の XpsPage インスタンスを返します。
get_PageCount()アクティブなドキュメントのページ数を返します。
get_TotalPageCount()XPS ドキュメント内のすべてのドキュメントに含まれるページ総数を返します。
get_Utils() const正式な XPS 操作 API を超えるユーティリティを提供するオブジェクトを取得します。
GetDocumentPrintTicket(int32_t)documentIndex でインデックスされたドキュメントの印刷チケットを返します。
GetPagePrintTicket(int32_t, int32_t)documentIndex でインデックスされたドキュメント内の、pageIndex でインデックスされたページの印刷チケットを返します。
Insert(int32_t, T)index 番目の位置に、アクティブページへ要素(Canvas、Path、または Glyphs)を挿入します。
InsertCanvas(int32_t)index 番目の位置に、アクティブページへ新しいキャンバスを挿入します。
InsertDocument(int32_t, bool)index 番目の位置に、デフォルトページサイズの空のドキュメントを挿入します。
InsertDocument(int32_t, float, float, bool)index 番目の位置に、最初のページのサイズが width × height の空のドキュメントを挿入します。
InsertGlyphs(int32_t, System::String, float, System::Drawing::FontStyle, float, float, System::String)index 番目の位置に、アクティブページへ新しいグリフを挿入します。
InsertGlyphs(int32_t, System::SharedPtr<XpsModel::XpsFont>, float, float, float, System::String)index 番目の位置に、アクティブページへ新しいグリフを挿入します。
InsertPage(int32_t, bool)index 番目の位置に、デフォルトページサイズの空のページをドキュメントに挿入します。
InsertPage(int32_t, float, float, bool)index 番目の位置に、指定された widthheight のサイズの空のページをドキュメントに挿入します。
InsertPage(int32_t, System::SharedPtr<XpsModel::XpsPage>, bool)index 番目の位置に、ページをドキュメントに挿入します。
InsertPath(int32_t, System::SharedPtr<XpsModel::XpsPathGeometry>)index 番目の位置に、アクティブページへ新しいパスを挿入します。
Merge(System::ArrayPtr<System::String>, System::String)複数の XPS ファイルを 1 つの XPS ドキュメントに結合します。
Merge(System::ArrayPtr<System::String>, System::SharedPtr<System::IO::Stream>)複数の XPS ファイルを 1 つの XPS ドキュメントに結合します。
MergeToPdf(System::ArrayPtr<System::String>, System::String, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>)Device インスタンスを使用して、XPS ドキュメントを PDF に結合します。
MergeToPdf(System::ArrayPtr<System::String>, System::SharedPtr<System::IO::Stream>, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>)Device インスタンスを使用して、XPS ドキュメントを PDF に結合します。
Remove(T)アクティブページから要素を削除します。
RemoveAt(int32_t)アクティブページの index 番目の位置にある要素を削除します。
RemoveDocumentAt(int32_t)index 番目の位置にあるドキュメントを削除します。
RemovePage(System::SharedPtr<XpsModel::XpsPage>)ドキュメントからページを削除します。
RemovePageAt(int32_t)ドキュメントの index 番目の位置にあるページを削除します。
Save(System::String)path にある XPS ファイルに XPS ドキュメントを保存します。
Save(System::SharedPtr<System::IO::Stream>)XPS ドキュメントをストリームに保存します。
SaveAsImage(System::SharedPtr<Presentation::Image::ImageSaveOptions>)ドキュメントを画像ファイルに保存します。出力ディレクトリとファイル名は、入力の XPS ファイルと同じになります。ファイル拡張子は "options" パラメータの画像形式に対応します。ドキュメントが FileStream 以外のストリームで初期化された場合、画像ファイルはデフォルトのファイル名テンプレートで現在のフォルダーに保存されます。
SaveAsImage(System::SharedPtr<Presentation::Image::ImageSaveOptions>, System::String, System::String)ドキュメントを指定されたディレクトリに、指定されたファイル名で画像ファイルとして保存します。ファイル拡張子は "options" パラメータの画像形式に対応します。
SaveAsImageBytes(System::SharedPtr<Presentation::Image::ImageSaveOptions>)ドキュメントをビットマップ画像形式でバイト配列として保存します。
SaveAsPdf(System::String, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>)ドキュメントを PDF 形式で保存します。
SaveAsPdf(System::SharedPtr<System::IO::Stream>, System::SharedPtr<Presentation::Pdf::PdfSaveOptions>)ドキュメントを PDF 形式で保存します。
SaveAsPs(System::String, System::SharedPtr<EPS::Device::PsSaveOptions>)ドキュメントを PS 形式で保存します。
SaveAsPs(System::SharedPtr<System::IO::Stream>, System::SharedPtr<EPS::Device::PsSaveOptions>)ドキュメントを PS 形式で保存します。
SelectActiveDocument(int32_t)編集中のアクティブなドキュメントを選択します。
SelectActivePage(int32_t)編集中のアクティブなドキュメントページを選択します。
set_JobPrintTicket(System::SharedPtr<Aspose::Page::XPS::XpsMetadata::JobPrintTicket>)ドキュメントのジョブ印刷チケットを取得/設定します。
SetDocumentPrintTicket(int32_t, System::SharedPtr<XpsMetadata::DocumentPrintTicket>)printTicketdocumentIndex でインデックス付けされたドキュメントにリンクします。
SetPagePrintTicket(int32_t, int32_t, System::SharedPtr<XpsMetadata::PagePrintTicket>)printTicketdocumentIndex でインデックス付けされたドキュメント内の pageIndex でインデックス付けされたページにリンクします。
XpsDocument()デフォルトのページサイズで空の XPS ドキュメントを作成します。
XpsDocument(System::String)path にある既存の XPS ドキュメントを開きます。
XpsDocument(System::String, System::SharedPtr<LoadOptions>)path にある既存のドキュメントを XPS ドキュメントとして開きます。
XpsDocument(System::SharedPtr<System::IO::Stream>, System::SharedPtr<LoadOptions>)stream に保存されている既存のドキュメントを XPS ドキュメントとしてロードします。

参照