'Declaration Public Overloads Shared Function MeasureHtml( _ ByVal graphics As GcPdfGraphics, _ ByVal browser As GcHtmlBrowser, _ ByVal htmlUri As System.Uri, _ ByVal format As HtmlToPdfFormat, _ Optional ByVal loadLazyImages As System.Boolean _ ) As System.Drawing.SizeF
public static System.Drawing.SizeF MeasureHtml( GcPdfGraphics graphics, GcHtmlBrowser browser, System.Uri htmlUri, HtmlToPdfFormat format, 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.
- format
- The formatting attributes.
- loadLazyImages
- Whether to scroll the page down to the end to force pending images to load.
Return Value
The size of the HTML block if rendered on this graphics.