HtmlToImageFormat Constructor
In This Topic
Initializes a new instance of
HtmlToImageFormat.
If is true, the resulting image size will be calculated automatically to include all page content. The minimal size will be determined by WindowSize.
If is false, the maximum resulting image size will be determined by MaxWindowWidth and MaxWindowHeight (possibly clipping some content).
Syntax
'Declaration
Public Function New( _
ByVal As System.Boolean, _
Optional ByVal As System.Boolean _
)
public HtmlToImageFormat(
System.bool ,
System.bool
)
Parameters
- fullPage
- Specifies whether to render the whole page.
- trimMargins
- Specifies whether to trim image margins.
See Also