Generate image for specified HTML file or URL and write resulting image to output stream
Namespace: NReco.ImageGenerator
Assembly: NReco.ImageGenerator (in NReco.ImageGenerator.dll) Version: 1.1.1.0 (1.1.1.0)
Syntax
public void GenerateImageFromFile( string htmlFilePath, string imageFormat, Stream outputStream )
Parameters
- htmlFilePath
- Type: SystemString
path to HTML file or absolute URL - imageFormat
- Type: SystemString
resulting image format (see ) - outputStream
- Type: System.IOStream
output stream for resulting image
See Also