[]
Renders the source HTML to an existing GcBitmap.
public bool RenderToGcBitmap(GcBitmap bitmap, HtmlToImageFormat format = null)
Public Function RenderToGcBitmap(bitmap As GcBitmap, Optional format As HtmlToImageFormat = Nothing) As Boolean
Type | Name | Description |
---|---|---|
GcBitmap | bitmap | The destination GcBitmap.Note that its current content will be lost. |
HtmlToImageFormat | format | The formatting attributes. |
Type | Description |
---|---|
bool | True if HTML was successfully rendered; otherwise, false. |