The PDF exporter extension helps you export drawing to the Adobe Portable Document Format (PDF). It is represented by the NPdfExporter class, whose one and only constructor by design requires a reference to the document, which must be exported to PDF.
| C# |
Copy Code
|
|---|---|
// create a new PDF exporter NPdfExporter pdfExporter = new NPdfExporter(document); |
|
| Visual Basic |
Copy Code
|
|---|---|
' create a new PDF exporter Dim pdfExporter As New NPdfExporter(document) |
|
To get a NPdfImage of the drawing use the RenderToPdf method.
The PDF exporter has a localizable visual interface, which is displayed by the ShowDialog method.