Class MhtmlRenderer
名称: Aspose.Html.Rendering セットアップ: Aspose.HTML.dll (25.4.0)
MHTMLドキュメントレンダーを表示します。
[ComVisible(true)]
public class MhtmlRenderer : Renderer<stream>, IDisposable
Inheritance
object
←
Renderer
←
Renderer
Implements
相続人
Renderer
Constructors
MhtmlRenderer()
public MhtmlRenderer()
Methods
Render(IDevice、TimeSpan、パラムストリーム[])
複数の MHTML ドキュメントを指定した Aspose.Html.Rendering.IDevice に転送します。
public override void Render(IDevice device, TimeSpan timeout, params Stream[] sources)
Parameters
device
IDevice
装置です。
timeout
TimeSpan
待つミリ秒の数を表すSystem.TimeSpan、または待つミリ秒を表すSystem.TimeSpan。
sources
Stream
( )
MHTMLドキュメントを提供する。
Render(IDevice, CancellationToken, パラムストリーム[])
複数の MHTML ドキュメントを特定の Aspose.Html.Rendering.IDevice にリリースする方法を定義し、キャンセル トークンを使用して操作のキャンセルを要求します。
public override void Render(IDevice device, CancellationToken cancellationToken, params Stream[] sources)
Parameters
device
IDevice
出力装置です。
cancellationToken
CancellationToken
A System.Threading.Cancellation 任務が完了するのを待つ間に観察することができる。
sources
Stream
( )
MHTMLドキュメントを提供する。
Render(IDEVICE、ストリーム、設定)
指定された Aspose.Html.Rendering.IDevice に MHTML ドキュメントを送信します。
public void Render(IDevice device, Stream source, Configuration configuration)
Parameters
device
IDevice
装置です。
source
Stream
MHTML文書です。
configuration
Configuration
構成です。
Render(IDevice、ストリーム、設定、TimeSpan)
指定された Aspose.Html.Rendering.IDevice に MHTML ドキュメントを送信します。リリースは、ロードリソース、アクティブタイマー、アニメーションタスク、または特定のタイムアウトのためのネットワーク作業が実行されていない場合に実行されます。
public void Render(IDevice device, Stream source, Configuration configuration, TimeSpan timeout)
Parameters
device
IDevice
装置です。
source
Stream
MHTML文書です。
configuration
Configuration
構成です。
timeout
TimeSpan
待つミリ秒の数を表すSystem.TimeSpan、または待つミリ秒を表すSystem.TimeSpan。
Render(トップ > ストリーム > ストリーム>, ・設定)
複数の MHTML ドキュメントを指定した Aspose.Html.Rendering.IDevice に転送します。
public void Render(IDevice device, IList<stream> sources, Configuration configuration)
Parameters
device
IDevice
装置です。
System.Collections.Generic.IList`1 の MHTML ドキュメントを提出します。
configuration
Configuration
構成です。
Render(トップ > ストリーム > ストリーム>, 設定、タイムスパン)
複数の MHTML ドキュメントを指定した Aspose.Html.Rendering.IDevice に転送します。リリースは、ロードリソース、アクティブタイマー、アニメーションタスク、または特定のタイムアウトのためのネットワーク作業が実行されていない場合に実行されます。
public void Render(IDevice device, IList<stream> sources, Configuration configuration, TimeSpan timeout)
Parameters
device
IDevice
装置です。
System.Collections.Generic.IList`1 の MHTML ドキュメントを提出します。
configuration
Configuration
構成です。
timeout
TimeSpan
待つミリ秒の数を表すSystem.TimeSpan、または待つミリ秒を表すSystem.TimeSpan。