Converts HTML string to Image file

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

Syntax

      
 C#  Visual Basic 
public int ConvertHtmlStringToImageFile(
	string inputHtmlString,
	string outputPdfFile,
	PdfVision..::.eImageFormat imageFormat
)
Public Function ConvertHtmlStringToImageFile ( _
	inputHtmlString As String, _
	outputPdfFile As String, _
	imageFormat As PdfVision..::.eImageFormat _
) As Integer

Parameters

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

Return Value

0 - converting successfully
2 - can't create output file, check the output path
3 - converting failed

Remarks



See Also