'Declaration Public Overloads Shared Function DrawHtml( _ ByVal graphics As GcPdfGraphics, _ ByVal browser As GcHtmlBrowser, _ ByVal htmlUri As System.Uri, _ ByVal x As System.Single, _ ByVal y As System.Single, _ ByVal format As HtmlToPdfFormat, _ ByRef size As System.Drawing.SizeF, _ Optional ByVal loadLazyImages As System.Boolean _ ) As System.Boolean
public static System.bool DrawHtml( GcPdfGraphics graphics, GcHtmlBrowser browser, System.Uri htmlUri, System.float x, System.float y, HtmlToPdfFormat format, out System.Drawing.SizeF size, System.bool loadLazyImages )
Parameters
- graphics
- The target GcPdfGraphics object.
- browser
- An instance of GrapeCity.Documents.Html.GcHtmlBrowser object.
- htmlUri
- The URI specifying the source HTML page.
- x
- The x-coordinate at which to draw the HTML block.
- y
- The y-coordinate at which to draw the HTML block.
- format
- The formatting attributes.
- size
- OUT: the size of the rendered HTML block.
- loadLazyImages
- Whether to scroll the page down to the end to force pending images to load.
Return Value
True if the drawn block is not empty, false otherwise.