'Declaration Public Overloads Shared Function DrawHtml( _ ByVal graphics As GcPdfGraphics, _ 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 virtualTimeBudget As System.Integer, _ Optional ByVal authServerWhitelist As System.String, _ Optional ByVal proxyServer As System.String _ ) As System.Boolean
public static System.bool DrawHtml( GcPdfGraphics graphics, System.Uri htmlUri, System.float x, System.float y, HtmlToPdfFormat format, out System.Drawing.SizeF size, System.int virtualTimeBudget, System.string authServerWhitelist, System.string proxyServer )
Parameters
- graphics
- The target GrapeCity.Documents.Pdf.GcPdfGraphics 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.
- 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
True if the drawn block is not empty, false otherwise.