Document Solutions for Imaging
GrapeCity.Documents.Html / GrapeCity.Documents.Drawing Namespace / HtmlToImageFormat Class / HtmlToImageFormat Constructor
Specifies whether to render the whole page.
Specifies whether to trim image margins.

In This Topic
    HtmlToImageFormat Constructor
    In This Topic
    Initializes a new instance of HtmlToImageFormat.

    If fullPage is true, the resulting image size will be calculated automatically to include all page content. The minimal size will be determined by WindowSize.

    If fullPage is false, the maximum resulting image size will be determined by MaxWindowWidth and MaxWindowHeight (possibly clipping some content).

    Syntax
    'Declaration
     
    Public Function New( _
       ByVal fullPage As System.Boolean, _
       Optional ByVal trimMargins As System.Boolean _
    )
    public HtmlToImageFormat( 
       System.bool fullPage,
       System.bool trimMargins
    )

    Parameters

    fullPage
    Specifies whether to render the whole page.
    trimMargins
    Specifies whether to trim image margins.
    See Also