Properties
Methods
Add a blank page to this document
Add a new page to this document and draw a viewport into it based on provided ViewCaptureSettings
Parameters:
| settings (ViewCaptureSettings) |
Returns: page number on success
public abstract void DrawBitmap(int pageNumber, Bitmap bitmap, float left, float top, float width, float height, float rotationInDegrees)
Draw a bitmap
Draw a line
public abstract void DrawPolyline(int pageNumber, PointF[] polyline, Color fillColor, Color strokeColor, float strokeWidth)
Draw a polyline path
public abstract void DrawText(int pageNumber, string text, double x, double y, float heightPoints, Font onfont, Color fillColor, Color strokeColor, float strokeWidth, float angleDegrees, TextHorizontalAlignment horizontalAlignment, TextVerticalAlignment verticalAlignment)
Draw text on a page
FirePreWriteEvent
#protected void FirePreWriteEvent()
Called by the framework to fire a PreWrite event
Get a list of custom PDF page definitions defined by the user
Get actual implementation of PdfDocument class
Read a PDF file into a RhinoDoc
Parameters:
| path (string) | path to read a file from |
| doc (RhinoDoc) | document to import geometry into |
| options (FilePdfReadOptions) | options used for importing the PDF file |
Returns: true on success
Set the list of custom PDF page definitions
Parameters:
| pages (IEnumerable<PrintedPageDefinition>) |
Write PDF to a stream
Parameters:
| stream (Stream) |
Events
Fired immediately before a PDF is written