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