Class DocDevice

Class DocDevice

名称: Aspose.Html.Rendering.Doc セットアップ: Aspose.HTML.dll (25.4.0)

DOCX ドキュメントへの送信を表します。

[ComVisible(true)]
public class DocDevice : Device<docdevice.docgraphiccontext, docrenderingoptions="">, IDevice, IDisposable

Inheritance

object Device Device<docdevice.docgraphiccontext, docrenderingoptions=""> DocDevice

Implements

IDevice , IDisposable

相続人

Device<docdevice.docgraphiccontext, docrenderingoptions="">.Initialize() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.SaveGraphicContext() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.RestoreGraphicContext() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.GetExtension() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.BeginDocument(Document) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.EndDocument() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.BeginPage(SizeF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.EndPage() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Flush() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.BeginElement(Element, RectangleF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.EndElement(Element) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.ClosePath() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.MoveTo(PointF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.LineTo(PointF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.AddRect(RectangleF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.CubicBezierTo(PointF, PointF, PointF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Stroke() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Fill(FillRule) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Clip(FillRule) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.StrokeAndFill(FillRule) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.FillText(string, PointF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.StrokeText(string, PointF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.DrawImage(byte[], WebImageFormat, RectangleF) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Dispose() , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Dispose(bool) , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Options , Device<docdevice.docgraphiccontext, docrenderingoptions="">.Configuration , Device<docdevice.docgraphiccontext, docrenderingoptions="">.GraphicContext , Device<docdevice.docgraphiccontext, docrenderingoptions="">.StreamProvider , Device<docdevice.docgraphiccontext, docrenderingoptions="">.OutputStream , Device<docdevice.docgraphiccontext, docrenderingoptions="">.PageIndex , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

DocDevice(ICREATEストリームプロバイダー)

Aspose.Html.Rendering.Doc.DocDevice クラスの新しい例を開始します。

public DocDevice(ICreateStreamProvider streamProvider)

Parameters

streamProvider ICreateStreamProvider

Aspose.Html.IO.ICreateStreamProvider インターフェイスを実装するオブジェクト

DocDevice(DocRenderingOptions、ICreateStreamプロバイダー)

Aspose.Html.Rendering.Doc.DocDevice クラスの新しい例をリリースし、オプションとストリームプロバイダーをリリースします。

public DocDevice(DocRenderingOptions options, ICreateStreamProvider streamProvider)

Parameters

options DocRenderingOptions

レンダーオプション

streamProvider ICreateStreamProvider

Aspose.Html.IO.ICreateStreamProvider インターフェイスを実装するオブジェクト

DocDevice(ストレッチ)

出力ファイル名によって Aspose.Html.Rendering.Doc.DocDevice クラスの新しい例を開始します。

public DocDevice(string file)

Parameters

file string

出力ファイル名

DocDevice(DocRenderingOptions、ストリップ)

Aspose.Html.Rendering.Doc.DocDevice クラスの新しい例をリリースし、オプションと出力ファイル名をリリースします。

public DocDevice(DocRenderingOptions options, string file)

Parameters

options DocRenderingOptions

レンダーオプション

file string

出力ファイル名

DocDevice(Stream)

Aspose.Html.Rendering.Doc.DocDevice クラスの新しい例を出力ストリームによって開始します。

public DocDevice(Stream stream)

Parameters

stream Stream

出力流

DocDevice(ストリーム、ストリーム、ストリーム)

Aspose.Html.Rendering.Doc.DocDevice クラスの新しい例をリリースし、オプションと出力ストリームをリリースします。

public DocDevice(DocRenderingOptions options, Stream stream)

Parameters

options DocRenderingOptions

レンダーオプション

stream Stream

出力流

Methods

AddRect(レクトンゲル)

正角を完全なサブパスとして現在のルートに接続します。

public override void AddRect(RectangleF rect)

Parameters

rect RectangleF

引っ張る直角。

BeginDocument(Document)

文書の発行が始まります。

public override void BeginDocument(Document document)

Parameters

document Document

文書です。

BeginElement(エレメント、RectangleF)

HTML ノードの再生が始まります。

public override bool BeginElement(Element element, RectangleF rect)

Parameters

element Element

html 要素

rect RectangleF

ノードのブロンドボックス

Returns

bool

元素が処理される場合に戻ります。

BeginPage(シェイク)

新しいページのリリースが始まります。

public override void BeginPage(SizeF size)

Parameters

size SizeF

ページのサイズ。

Clip(FillRule)

現在のクリップルートを変更し、現在のルートと交差し、FillMode ルールを使用して、満たす地域を決定します。この方法は現在の道を終わらせる。

public override void Clip(FillRule mode)

Parameters

mode FillRule

満たすモードは、閉鎖された道の内部がどのようにクリップされているかを指定します。

ClosePath()

現在のサブパスを閉じ、現在の点からサブパスの出発点に直線セグメントを貼り付ける。現在のサブパスがすでに閉鎖されている場合、「ClosePath」は何もしません。このオペレーターは現在のサブパスを終了します. 現在のパスに別のセグメントを追加すると、新しいサブパスが始まります。新しいセグメントが「ClosePath」メソッドで達成された最終点から始まる場合でも。

public override void ClosePath()

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

現在のコースにキューブベジエル曲線を加え、曲線は現在のポイントからPT2ポイントまで伸びます。pt1 と pt2 を Bézier コントロール ポイントとして使用します. 新しい現在のポイントは pt3 です。

public override void CubicBezierTo(PointF pt1, PointF pt2, PointF pt3)

Parameters

pt1 PointF

第一点の調整

pt2 PointF

第2点の調整

pt3 PointF

第3点の調整

DrawImage(ビート( ), WebImageFormat, RectangleF)

指定された画像を表示します。

public override void DrawImage(byte[] data, WebImageFormat imageFormat, RectangleF rect)

Parameters

data byte ( )

イメージを表すバイトの数々。

imageFormat WebImageFormat

イメージフォーマット

rect RectangleF

直角は、描く位置とサイズを決定します。

EndElement(Element)

HTML ノードのリリースが終了します。

public override void EndElement(Element element)

Parameters

element Element

html 要素

EndPage()

現在のページのリリースが終了します。

public override void EndPage()

Fill(FillRule)

地域全体が現在のルートに覆われている。道路が複数の分離された地下路線で構成されている場合、すべての地下路線の内部を満たす。一緒に考える。この方法は現在の道を終わらせる。

public override void Fill(FillRule mode)

Parameters

mode FillRule

満たすモードは、閉鎖されたルートの内部がどのように満たされているかを指定します。

FillText(トップ > ポイントF)

指定された場所で指定されたテキストラインを記入します。

public override void FillText(string text, PointF pt)

Parameters

text string

ストレッチを満たす。

pt PointF

テキストのコーディネートを指定するポイント。

Flush()

すべてのデータを出力流にフラッシュします。

public override void Flush()

GetExtension()

出力ファイルの拡張を取得します。

protected override string GetExtension()

Returns

string

ファイル拡張

Initialize()

コンテキストスタックをスタートさせる。

protected override void Initialize()

LineTo(ポイントF)

現点から現点(pt)に直線セグメントを追加します。

public override void LineTo(PointF pt)

Parameters

pt PointF

どこにラインを作るか。

MoveTo(ポイントF)

新しいサブパスは、現在のポイントをPtパラメーターのコーディネートに移動し、接続ラインセグメントを無視することによって始まります。以前の路線建設方法が現在の路線で「MoveTo」であった場合、新しい「MoveTo」がそれを超える。過去の「MoveTo」作戦の残りは残っていません。

public override void MoveTo(PointF pt)

Parameters

pt PointF

どこへ向かうかという点です。

Stroke()

折りたたみの線は、直線または曲線の各セグメントに沿って行きます。それに並行する側面を持つセグメントに焦点を当て、それぞれの道のサブパスは別々に処理されます。この方法は現在の道を終わらせる。

public override void Stroke()

StrokeAndFill(FillRule)

ストレッチして現在の道を満たす。この方法は現在の道を終わらせる。

public override void StrokeAndFill(FillRule mode)

Parameters

mode FillRule

満たすモードは、閉鎖された道の内部がどのように満たされているかを指定します。

StrokeText(トップ > ポイントF)

指定された場所で指定されたテキストラインをストレッチします。

public override void StrokeText(string text, PointF pt)

Parameters

text string

ストライキに繋がる。

pt PointF

テキストがどこから始まるかを指定する点。</docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,></docdevice.docgraphiccontext,>

 日本語