Document Solutions for PDF
DS.Documents.Html Assembly / GrapeCity.Documents.Html Namespace / GcHtmlRenderer Class / RenderToGcBitmap Method
The destination GrapeCity.Documents.Imaging.GcBitmap.Note that its current content will be lost.
The formatting attributes.

In This Topic
    RenderToGcBitmap Method
    In This Topic
    Renders the source HTML to an existing GrapeCity.Documents.Imaging.GcBitmap.
    Syntax
    'Declaration
     
    Public Function RenderToGcBitmap( _
       ByVal bitmap As GcBitmap, _
       Optional ByVal format As HtmlToImageFormat _
    ) As System.Boolean
    public System.bool RenderToGcBitmap( 
       GcBitmap bitmap,
       HtmlToImageFormat format
    )

    Parameters

    bitmap
    The destination GrapeCity.Documents.Imaging.GcBitmap.Note that its current content will be lost.
    format
    The formatting attributes.

    Return Value

    True if HTML was successfully rendered; otherwise, false.
    See Also