'Declaration Public Overloads Shared Function MeasureHtml( _ ByVal graphics As GcPdfGraphics, _ ByVal html As System.String, _ ByVal format As HtmlToPdfFormat, _ Optional ByVal virtualTimeBudget As System.Integer, _ Optional ByVal authServerWhitelist As System.String, _ Optional ByVal proxyServer As System.String _ ) As System.Drawing.SizeF
public static System.Drawing.SizeF MeasureHtml( GcPdfGraphics graphics, System.string html, HtmlToPdfFormat format, System.int virtualTimeBudget, System.string authServerWhitelist, System.string proxyServer )
Parameters
- graphics
- The target GcPdfGraphics object.
- html
- The HTML string to draw.
- format
- The formatting attributes.
- virtualTimeBudget
- The number of milliseconds to wait before deeming the page to be ready.
- authServerWhitelist
- A whitelist for Negotiate Auth servers, such as "*example.com".
- proxyServer
- A proxy server, such as "https://proxy-ip:proxy-port".
Return Value
The size of the HTML block if rendered on this graphics.