Click or drag to resize

ImgConverterSaveImageFromHtmlStreamToFile(Stream, Encoding, ImageFormat, String, String) Method

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: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntax
public void SaveImageFromHtmlStreamToFile(
	Stream htmlStream,
	Encoding streamEncoding,
	ImageFormat format,
	string outFile,
	string urlBase
)

Parameters

htmlStream  Stream
The HTML stream
streamEncoding  Encoding
The encoding of the HTML stream
format  ImageFormat
The output image format
outFile  String
The output file full path
urlBase  String
The URL base of the page
See Also