Click or drag to resize
ImgConverterSaveImageFromHtmlStreamToFile Method (Stream, Encoding, ImageFormat, String)
This method produces a image from the specified HTML stream in the specified format and saves the image in the specified disk file. The existing file will be overwritten

Namespace: ExpertPdf.HtmlToPdf
Assembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntax
public void SaveImageFromHtmlStreamToFile(
	Stream htmlStream,
	Encoding streamEncoding,
	ImageFormat format,
	string outFile
)

Parameters

htmlStream
Type: System.IOStream
The HTML stream
streamEncoding
Type: System.TextEncoding
The encoding of the HTML stream
format
Type: System.Drawing.ImagingImageFormat
The output image format
outFile
Type: SystemString
The output file full path
See Also