This method produces a image from the specified HTML stream in the specified format
and saves the image in the specified disk file by writing first the HTML stream into a temporary file.
The existing file will be overwritten.
| C# | Visual Basic | Visual C++ |
public void SaveImageFromHtmlStreamToFileWithTempFile( Stream htmlStream, Encoding streamEncoding, ImageFormat format, string outFile, string urlBase )
Public Sub SaveImageFromHtmlStreamToFileWithTempFile ( _ htmlStream As Stream, _ streamEncoding As Encoding, _ format As ImageFormat, _ outFile As String, _ urlBase As String _ )
public: void SaveImageFromHtmlStreamToFileWithTempFile( Stream^ htmlStream, Encoding^ streamEncoding, ImageFormat^ format, String^ outFile, String^ urlBase )
- 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