MhtmlRenderer.Render

Render(IDevice, TimeSpan, params Stream[])

Återger flera MHTML-dokument till specificeradeIDevice . Renderingen kommer att utföras när det inte finns några nätverksoperationer för att ladda resurser, aktiva timers, animeringsuppgifter eller specificerad timeout har förflutit.

public override void Render(IDevice device, TimeSpan timeout, params Stream[] documents)
ParameterTypBeskrivning
deviceIDeviceEnheten.
timeoutTimeSpanATimeSpan som representerar antalet millisekunder att vänta, eller aTimeSpan som representerar -1 millisekund för att vänta på obestämd tid.
documentsStream[]Dokumenten som ska återges.

Se även


Render(IDevice, Stream, Configuration)

Återger MHTML-dokument till specificeratIDevice .

public void Render(IDevice device, Stream document, Configuration configuration)
ParameterTypBeskrivning
deviceIDeviceEnheten.
documentStreamDokumentet.
configurationConfigurationKonfigurationen.

Se även


Render(IDevice, Stream, Configuration, TimeSpan)

Återger MHTML-dokument till specificeratIDevice . Renderingen kommer att utföras när det inte finns några nätverksoperationer för att ladda resurser, aktiva timers, animeringsuppgifter eller specificerad timeout har förflutit.

public void Render(IDevice device, Stream document, Configuration configuration, TimeSpan timeout)
ParameterTypBeskrivning
deviceIDeviceEnheten.
documentStreamDokumentet.
configurationConfigurationKonfigurationen.
timeoutTimeSpanATimeSpan som representerar antalet millisekunder att vänta, eller aTimeSpan som representerar -1 millisekund för att vänta på obestämd tid.

Se även


Render(IDevice, IList<Stream>, Configuration)

Återger flera MHTML-dokument till specificeradeIDevice .

public void Render(IDevice device, IList<Stream> documents, Configuration configuration)
ParameterTypBeskrivning
deviceIDeviceEnheten.
documentsIList`1DeIList av dokument att återge.
configurationConfigurationKonfigurationen.

Se även


Render(IDevice, IList<Stream>, Configuration, TimeSpan)

Återger flera MHTML-dokument till specificeradeIDevice . Renderingen kommer att utföras när det inte finns några nätverksoperationer för att ladda resurser, aktiva timers, animeringsuppgifter eller specificerad timeout har förflutit.

public void Render(IDevice device, IList<Stream> documents, Configuration configuration, 
    TimeSpan timeout)
ParameterTypBeskrivning
deviceIDeviceEnheten.
documentsIList`1DeIList av dokument att återge.
configurationConfigurationKonfigurationen.
timeoutTimeSpanATimeSpan som representerar antalet millisekunder att vänta, eller aTimeSpan som representerar -1 millisekund för att vänta på obestämd tid.

Se även