HtmlToImageConverterGenerateImage Method (String, String)

NReco.ImageGenerator (HTML-to-Image) Class Library
Generate image by specifed HTML content

Namespace:  NReco.ImageGenerator
Assembly:  NReco.ImageGenerator (in NReco.ImageGenerator.dll) Version: 1.1.1.0 (1.1.1.0)
Syntax

public byte[] GenerateImage(
	string htmlContent,
	string imageFormat
)

Parameters

htmlContent
Type: SystemString
HTML content
imageFormat
Type: SystemString
resulting image format (see )

Return Value

Type: Byte
image bytes
See Also

Reference