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

C# | Visual Basic | Visual C++ |
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 )
public: void SaveImageFromHtmlStreamToFile( Stream^ htmlStream, Encoding^ streamEncoding, ImageFormat^ format, String^ outFile )

- 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
Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)