HtmlToImageConverterGenerateImageFromFile Method (String, String)

NReco.ImageGenerator (HTML-to-Image) Class Library
Generate image for specified HTML file path or URL

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

public byte[] GenerateImageFromFile(
	string htmlFilePath,
	string imageFormat
)

Parameters

htmlFilePath
Type: SystemString
path to HTML file or absolute URL
imageFormat
Type: SystemString
resulting image format (see )

Return Value

Type: Byte
image bytes
See Also

Reference