Converts HTML string to Image byte array

Namespace:  SautinSoft
Assembly:  SautinSoft.PdfVision (in SautinSoft.PdfVision.dll) Version: 5.1.2.13

Syntax

      
 C#  Visual Basic 
public byte[] ConvertHtmlStringToImageStream(
	string inputHtmlString,
	PdfVision..::.eImageFormat imageFormat
)
Public Function ConvertHtmlStringToImageStream ( _
	inputHtmlString As String, _
	imageFormat As PdfVision..::.eImageFormat _
) As Byte()

Parameters

inputHtmlString
String
Any string in HTML format, framed by <html> ... </html> tags
imageFormat
PdfVision..::.eImageFormat
Allows to set PdfVision..::.eImageFormat for resulting image

Return Value

byte array containing resulting image - in case of converting successfully
null - in case of converting failed

Remarks



See Also