[]
Draws a PDF page.
public static void DrawPdfPage(this GcGraphics g, Page page, RectangleF bounds, bool drawAnnotations = true, bool drawFormFields = true, RenderingCache renderingCache = null, bool print = false, bool ignoreErrors = true)
Public Shared Sub DrawPdfPage(g As GcGraphics, page As Page, bounds As RectangleF, Optional drawAnnotations As Boolean = True, Optional drawFormFields As Boolean = True, Optional renderingCache As RenderingCache = Nothing, Optional print As Boolean = False, Optional ignoreErrors As Boolean = True)
Type | Name | Description |
---|---|---|
GcGraphics | g | The graphics to draw on. |
Page | page | The page to draw. |
RectangleF | bounds | The draw bounds. |
bool | drawAnnotations | Indicates whether to draw annotations. |
bool | drawFormFields | Indicates whether to draw form fields. |
RenderingCache | renderingCache | A RenderingCache object that is used to cache objects created during rendering. |
bool | Indicates whether the image is generated for printing. |
|
bool | ignoreErrors | Indicates whether to ignore errors in the PDF content stream during rendering. |