This method produces a image from the specified HTML string in the specified format
and saves the image in the specified disk file by writing first the HTML string into a temporary file.
The existing file will be overwritten.
| C# | Visual Basic | Visual C++ |
public void SaveImageFromHtmlStringToFileWithTempFile( string htmlString, ImageFormat format, string outFile, string urlBase )
Public Sub SaveImageFromHtmlStringToFileWithTempFile ( _ htmlString As String, _ format As ImageFormat, _ outFile As String, _ urlBase As String _ )
public: void SaveImageFromHtmlStringToFileWithTempFile( String^ htmlString, ImageFormat^ format, String^ outFile, String^ urlBase )
- htmlString (String)
- The HTML string to be converted to image
- format (ImageFormat)
- The output image format
- outFile (String)
- The output file full path
- urlBase (String)
- The URL base of the page