Winnovative HTML to PDF Converter Library for .NET
GetImageBytesFromHtmlStringWithTempFile Method (htmlString, format)
NamespacesWinnovative.WnvHtmlConvertImgConverterGetImageBytesFromHtmlStringWithTempFile(String, ImageFormat)
Winnovative HTML to PDF Converter Library for .NET
Gets binary format of an image generated from the specified HTML string in the the specified System.Drawing.Imaging.ImageFormat format. The htmlString is first saved into a temporary file before performing the conversion The bytes can be further written in any stream like a disk file or a web response.
Declaration Syntax
C#Visual BasicVisual C++
public byte[] GetImageBytesFromHtmlStringWithTempFile(
	string htmlString,
	ImageFormat format
)
Public Function GetImageBytesFromHtmlStringWithTempFile ( _
	htmlString As String, _
	format As ImageFormat _
) As Byte()
public:
array<unsigned char>^ GetImageBytesFromHtmlStringWithTempFile(
	String^ htmlString, 
	ImageFormat^ format
)
Parameters
htmlString (String)
The HTML string to be converted to image
format (ImageFormat)
The image format
Return Value
The binary representation of the image as byte[] object

Assembly: Winnovative.WnvHtmlConvert (Module: Winnovative.WnvHtmlConvert) Version: 8.0.0.0 (8.0.0.0)