Aspose::Page::EPS::Device::PdfDevice クラス

PdfDevice class

このクラスは、ドキュメントを PDF にレンダリングする機能をカプセル化します。

class PdfDevice : public Aspose::Page::Device,
                  public Aspose::Page::IMultiPageDevice,
                  public Aspose::Page::IStreamable

メソッド

メソッド説明
static AUTHOR()“Author” プロパティの値。
static BACKGROUND()“Background” プロパティキー。
static BACKGROUND_COLOR()“Background color” プロパティキー。
virtual Clip(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>)指定されたシェイプでクリップします。writeClip(Rectangle)、writeClip(RectangleF)、または writeClip(Shape) にディスパッチされます。
virtual ClipRect(float, float, float, float)矩形でクリップします。clip(Rectangle2D) を呼び出します。
ClosePage() overrideページがレンダリングされた後、デバイスの必要な準備を行います。
CloseStream()
static COMPRESS()“Compress” プロパティキー。
virtual Copy()
Create() overrideこのデバイスのコピーを作成します。
virtual Create(float, float, float, float)
CreatePdfCanvas()
Dispose() overrideグラフィックコンテキストを破棄します。作成時に restoreOnDispose が true だった場合、writeGraphicsRestore() が呼び出されます。
Draw(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>) overrideパスを描画します。
DrawBitmapGlyph(System::SharedPtr<System::Object>, System::String, System::SharedPtr<System::Drawing::Bitmap>, System::SharedPtr<System::Drawing::Drawing2D::Matrix>) override
DrawImage(System::SharedPtr<System::Drawing::Bitmap>, System::SharedPtr<System::Drawing::Drawing2D::Matrix>, System::Drawing::Color) override割り当てられた変換と背景で画像を描画します。
DrawString(System::String, double, double) override指定されたポイントに文字列を描画します。
static EMBED_FONTS()“Embed font in document” プロパティキー。
static EMBED_FONTS_AS()“What font type is used for embedding” プロパティキー。
static EMIT_ERRORS()“Emit errors” プロパティの値。
static EMIT_WARNINGS()“Emit warnings” プロパティの値。
EndDocument() overrideドキュメントがレンダリングされた後、デバイスの必要な準備を行います。
Fill(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>) overrideパスを塗りつぶします。
FillLastClip()
static FIT_TO_PAGE()“Fit content to page” プロパティキー。
get_CurrentPageNumber() override現在のページ番号。
get_LastWrittenPaint() const文字列の周囲にフレームとバナーを描画します。このメソッドは、文字列を描画する前にテキストカーソルを設定すべきポイントを計算して返します。
get_OutputStream() override出力ストリームを指定または返します。
get_WarningMessage()
GetFinalWrittenLength() override
GetTransform() override現在の変換を取得します。
InitClip() overrideデバイスのクリップを初期化します。
InitPageNumbers() override出力するページ数を初期化します。
static KEYWORDS()"Keywords" プロパティの値。
OpenPage(System::String) overrideページのレンダリング前にデバイスの必要な準備を行います。
OpenPage(float, float) override各ページのレンダリング前にデバイスの必要な準備を行います。
static ORIENTATION()"Orientation" プロパティキー。
static PAGE_MARGINS()"Page margins" プロパティキー。
static PAGE_SIZE_()"Page size" プロパティキー。
PdfDevice(System::SharedPtr<System::IO::Stream>)出力ストリームで PdfDevice の新しいインスタンスを初期化します。
PdfDevice(System::SharedPtr<System::IO::Stream>, System::Drawing::Size)出力ストリームと指定されたページサイズで PdfDevice の新しいインスタンスを初期化します。
PdfDevice(System::SharedPtr<PdfDevice>, bool)クローンコンストラクタ。既存のデバイスで PdfDevice の新しいインスタンスを初期化します。
ReNew() overrideドキュメント全体のデバイスを初期状態にリセットします。出力ストリームのリセットに使用されます。
ReNewForMerge(bool) override複数のドキュメントをマージする際に、ドキュメント全体のデバイスを初期状態にリセットします。出力ストリームのリセットに使用されます。
Reset() overrideページデバイスパラメータが設定される場合、このメソッドは書き込みストリームをページの先頭に戻すことを可能にします。
Reset(bool) override
virtual ResetClip(System::Drawing::Rectangle)
Rotate(double) override現在の変換を Z 軸周りに回転させます。writeTransform(Transform) を呼び出します。正の角度 θ で回転すると、正の x 軸上の点が正の y 軸方向へ回転します。
virtual SavePageTransform()
Scale(double, double) override現在の変換行列をスケーリングします。writeTransform(Transform) を呼び出します。
set_Font(System::SharedPtr<BaseTrFont>) override現在のフォントを指定します。
set_OutputStream(System::SharedPtr<System::IO::Stream>) override出力ストリームを指定または返します。
set_Paint(System::SharedPtr<System::Drawing::Brush>) override現在のペイントを返すか、指定します。
set_Stroke(System::SharedPtr<System::Drawing::Pen>) override現在のストロークを返すか、指定します。
SetClip(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>) overrideデバイスのクリップを指定します。
virtual SetFooter(System::SharedPtr<Postscript::TrFont>, System::SharedPtr<Graphics2d::TagString>, System::SharedPtr<Graphics2d::TagString>, System::SharedPtr<Graphics2d::TagString>, int32_t)
virtual SetHeader(System::SharedPtr<Postscript::TrFont>, System::SharedPtr<Graphics2d::TagString>, System::SharedPtr<Graphics2d::TagString>, System::SharedPtr<Graphics2d::TagString>, int32_t)
SetSaveFromPatternCreate()
SetTransform(System::SharedPtr<System::Drawing::Drawing2D::Matrix>) override現在の変換を指定します。ほとんどの出力フォーマットがこの機能を実装していないため、currentTransform の逆変換を計算し、設定する変換と掛け合わせます。その結果は writeTransform(Transform) の呼び出しで転送されます。
Shear(double, double) override現在の変換行列をシアー変換します。writeTransform(Transform) を呼び出します。
StartDocument() overrideドキュメントのレンダリング開始前にデバイスの必要な準備を行います。
static SUBJECT()"Subject" プロパティの値。
static TITLE()"Title" プロパティの値。
ToString() const overrideデバイスタイプの名前を返します。
Transform(System::SharedPtr<System::Drawing::Drawing2D::Matrix>) override現在の変換行列を変換します。writeTransform(Transform) を呼び出します
Translate(double, double) override現在の変換行列を平行移動します。writeTransform(Transform) を呼び出します。
static TRANSPARENT()"Transparent" プロパティキー。
UpdatePageParameters(System::SharedPtr<IMultiPageDevice>) override他のマルチページデバイスからページパラメータを更新します。
static WRITE_IMAGES_AS()"Format of images" プロパティキー。
WriteBackground() override現在の背景を書き出します。
WriteCap(System::Drawing::Drawing2D::LineCap) overrideストロークのキャップを書き出します。
virtual WriteClip(System::Drawing::RectangleF)
virtual WriteClip(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>)
WriteComment(System::String) overrideコメントを書き出します。
WriteDash(System::ArrayPtr<double>, double, System::Drawing::Drawing2D::DashCap, float) overrideストロークのダッシュを書き出します。
virtual WriteGraphicsRestore()
virtual WriteGraphicsSave()
WriteHeader()カタログ、docinfo、preferences、そして(単一ページ出力のみを使用するためページツリー)を書き出します。
WriteJoin(System::Drawing::Drawing2D::LineJoin) overrideストロークのジョインを書き出します。
WriteLastWrittenPaint()最後に書き込まれたペイントを書き出します。ペイントを書き込んだ後にグラフィックの復元("Q")が実行された場合に便利です。
WriteMiterLimit(float) overrideストロークのミタリミットを書き出します。
WritePaint(System::SharedPtr<System::Drawing::SolidBrush>) override指定された色としてペイントを書き出します。
WritePaint(System::SharedPtr<System::Drawing::Drawing2D::LinearGradientBrush>) override指定されたグラデーションとしてペイントを書き出します。
WritePaint(System::SharedPtr<System::Drawing::TextureBrush>) override指定されたテクスチャとしてペイントを書き出します。
WritePaint(System::SharedPtr<System::Drawing::Brush>) overrideペイントを書き出します。
WriteString(System::SharedPtr<BaseTrFont>, System::String) override指定されたフォントで文字列を書き出します。
WriteTrailer()PDF ドキュメントのトレーラを書き出します。
virtual WriteTransform(System::SharedPtr<System::Drawing::Drawing2D::Matrix>)指定された変換行列をファイルに書き込みます。
WriteWarning(System::String) override警告を書き出します。デフォルトでは System.err に出力されます。
WriteWidth(float) overrideストロークの幅を書き出します。

フィールド

フィールド説明
static VERSION"Version" プロパティキー。
static VERSION5"Version of Adobe Acrobat Reader" プロパティ値。

Deprecated

PdfDevice クラスは 24.3 以降非推奨です。代わりに PsDocument クラスの SaveAsPdf メソッドを使用してください。24.6 ではこのクラスは完全に非表示になります。

参照