Class MhtmlRenderer

Class MhtmlRenderer

Nom dels espais: Aspose.Html.Rendering Assemblea: Aspose.HTML.dll (25.4.0)

Representa un renderador de documents MHTML.

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

Inheritance

object Renderer Renderer MhtmlRenderer

Implements

IDisposable

Membres heretats

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, Params Stream[])

Rendera diversos documents MHTML a Aspose.Html.Rendering.IDevice especificats.

public override void Render(IDevice device, TimeSpan timeout, params Stream[] sources)

Parameters

device IDevice

El dispositiu .

timeout TimeSpan

Un System.TimeSpan que representa el nombre de millisecundes per esperar, o un Sistema.Timespan qui representa -1 millissecunda per a esperar indefinitament.

sources Stream []

Els documents MHTML per a rendir.

Render(IDevice, Cancel·lacióToken, Params Stream[])

Defineix un mètode per renderitzar diversos documents MHTML en un Aspose.Html.Rendering.IDevice específic, utilitzant un token d’anul·lació per sol·licitar la cancelació de l’operació.

public override void Render(IDevice device, CancellationToken cancellationToken, params Stream[] sources)

Parameters

device IDevice

El dispositiu de sortida.

cancellationToken CancellationToken

Un sistema.Threading.CancellacióToken per observar mentre espera que la tasca s’ha de completar.

sources Stream []

Els documents MHTML per a rendir.

Render(IDevice, flux, configuració)

Rendera el document MHTML a la especificació Aspose.Html.Rendering.IDevice.

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

Parameters

device IDevice

El dispositiu .

source Stream

El document MHTML.

configuration Configuration

La configuració .

Render(IDevice, Stream, Configuració, TimeSpan)

Rendera el document MHTML a la especificació Aspose.Html.Rendering.IDevice.La renderització es realitzarà una vegada que no hi hagi cap operació de xarxa per a recursos de càrrega, horaris actius, tasques d’animació o temps especificats s’elaboren.

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

Parameters

device IDevice

El dispositiu .

source Stream

El document MHTML.

configuration Configuration

La configuració .

timeout TimeSpan

Un System.TimeSpan que representa el nombre de millisecundes per esperar, o un Sistema.Timespan qui representa -1 millissecunda per a esperar indefinitament.

Render(Imatge, Il·lustració>Configuració)

Rendera diversos documents MHTML a Aspose.Html.Rendering.IDevice especificats.

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

Parameters

device IDevice

El dispositiu .

sources IList < Stream >

El System.Collections.Generic.IList`1 dels documents de MHTML per presentar.

configuration Configuration

La configuració .

Render(Imatge, Il·lustració>Configuració, TimeSpan)

Rendera diversos documents MHTML a Aspose.Html.Rendering.IDevice especificats.La renderització es realitzarà una vegada que no hi hagi cap operació de xarxa per a recursos de càrrega, horaris actius, tasques d’animació o temps especificats s’elaboren.

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

Parameters

device IDevice

El dispositiu .

sources IList < Stream >

El System.Collections.Generic.IList`1 dels documents de MHTML per presentar.

configuration Configuration

La configuració .

timeout TimeSpan

Un System.TimeSpan que representa el nombre de millisecundes per esperar, o un Sistema.Timespan qui representa -1 millissecunda per a esperar indefinitament.

 Català