[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.GcHtmlRenderer.RenderToGcBitmap

RenderToGcBitmap Method

RenderToGcBitmap(GcBitmap, HtmlToImageFormat)

Renders the source HTML to an existing GcBitmap.

Declaration
public bool RenderToGcBitmap(GcBitmap bitmap, HtmlToImageFormat format = null)
Public Function RenderToGcBitmap(bitmap As GcBitmap, Optional format As HtmlToImageFormat = Nothing) As Boolean
Parameters
Type Name Description
GcBitmap bitmap

The destination GcBitmap.Note that its current content will be lost.

HtmlToImageFormat format

The formatting attributes.

Returns
Type Description
bool

True if HTML was successfully rendered; otherwise, false.