'Declaration Public Overloads Shared Function MeasureHtml( _ ByVal graphics As GcPdfGraphics, _ ByVal browser As GcHtmlBrowser, _ ByVal html As System.String, _ 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.string html, HtmlToPdfFormat format, System.bool loadLazyImages )
Parameters
- graphics
- The target GcPdfGraphics object.
- browser
- An instance of GrapeCity.Documents.Html.GcHtmlBrowser object.
- html
- The HTML string to draw.
- 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.