GcPdfGraphicsExt
Provides the extension methods for rendering HTML to GcPdfGraphics.
public static bool DrawHtml(this GcPdfGraphics graphics, string html, float x, float y, HtmlToPdfFormat format, out SizeF size, int virtualTimeBudget = 0, string authServerWhitelist = null, string proxyServer = null)
Draws an HTML string on this GcPdfGraphics at a specified position.
public static bool DrawHtml(this GcPdfGraphics graphics, Uri htmlUri, float x, float y, HtmlToPdfFormat format, out SizeF size, int virtualTimeBudget = 0, string authServerWhitelist = null, string proxyServer = null)
Draws an HTML page provided by an URI on this GcPdfGraphics at a specified position.
public static SizeF MeasureHtml(this GcPdfGraphics graphics, string html, HtmlToPdfFormat format, int virtualTimeBudget = 0, string authServerWhitelist = null, string proxyServer = null)
Measures an HTML string for rendering on this GcPdfGraphics
public static SizeF MeasureHtml(this GcPdfGraphics graphics, Uri htmlUri, HtmlToPdfFormat format, int virtualTimeBudget = 0, string authServerWhitelist = null, string proxyServer = null)
Measures an HTML page provided by an URI for rendering on this GcPdfGraphics.