Class MhtmlRenderer

Class MhtmlRenderer

نام ها : Aspose.Html.Rendering جمع آوری: Aspose.HTML.dll (25.4.0)

یک رندر سند MHTML را نشان می دهد.

[ComVisible(true)]
public class MhtmlRenderer : Renderer<stream>, IDisposable

Inheritance

object Renderer Renderer MhtmlRenderer

Implements

IDisposable

اعضای ارثی

Renderer.Render(IDevice, Stream) , Renderer.Render(IDevice, Stream, TimeSpan) , Renderer.Render(IDevice, Stream, int) , Renderer.Render(IDevice, params Stream[]) , Renderer.Render(IDevice, int, params Stream[]) , Renderer.Render(IDevice, TimeSpan, params Stream[]) , Renderer.Render(IDevice, CancellationToken, params Stream[]) , Renderer.Dispose() , Renderer.Dispose(bool) , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

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 که نشان دهنده -1 میلی ثانیه ای است که به طور نامحدود منتظر می ماند.

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

یک سیستم.Threading.Cancellationبرای مشاهده در حالی که در انتظار انجام وظیفه.

sources Stream [ ]

مدارک MHTML برای ارائه

Render(IDevice، جریان، تنظیمات)

رندر اسناد MHTML را به Aspose.Html.Rendering.IDevice مشخص کنید.

public void Render(IDevice device, Stream source, Configuration configuration)

Parameters

device IDevice

این دستگاه

source Stream

مدارک MHTML

configuration Configuration

این پیکربندی

Render(IDevice، جریان، تنظیمات، TimeSpan)

رندر اسناد MHTML را به Aspose.Html.Rendering.IDevice مشخص کنید.رزرو پس از آن انجام می شود که هیچ عملیات شبکه ای برای منابع بارگذاری، زمانبندی های فعال، وظایف انیمیشن یا زمانبندی مشخص شده انجام نشده است.

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 که نشان دهنده -1 میلی ثانیه ای است که به طور نامحدود منتظر می ماند.

Render(بایگانی برچسب ها: ILIST>, تنظیمات)

بازگرداندن چندین سند MHTML به Aspose.Html.Rendering.IDevice مشخص شده است.

public void Render(IDevice device, IList<stream> sources, Configuration configuration)

Parameters

device IDevice

این دستگاه

sources IList &lt؛ Stream >

System.Collections.Generic.IList`1 از اسناد MHTML برای ارائه.

configuration Configuration

این پیکربندی

Render(بایگانی برچسب ها: ILIST>, تنظیمات , TimeSpan)

بازگرداندن چندین سند MHTML به Aspose.Html.Rendering.IDevice مشخص شده است.رزرو پس از آن انجام می شود که هیچ عملیات شبکه ای برای منابع بارگذاری، زمانبندی های فعال، وظایف انیمیشن یا زمانبندی مشخص شده انجام نشده است.

public void Render(IDevice device, IList<stream> sources, Configuration configuration, TimeSpan timeout)

Parameters

device IDevice

این دستگاه

sources IList &lt؛ Stream >

System.Collections.Generic.IList`1 از اسناد MHTML برای ارائه.

configuration Configuration

این پیکربندی

timeout TimeSpan

یک System.TimeSpan که نشان دهنده تعداد میلی ثانیه ای است که باید منتظر بماند، یا یک System.TimeSpan که نشان دهنده -1 میلی ثانیه ای است که به طور نامحدود منتظر می ماند.

 فارسی