C# Class PDFExport.PDFExporter

Mostrar archivo Open project: gbaychev/NClass Class Usage Examples

Public Methods

Method Description
Export ( ) : void

Exports the given diagram into a PDF. The PDF is saved at the location given in fileName. If selectedOnly is true, only the selected elements of the diagram get exported.

PDFExporter ( string fileName, IDocument nclassDocument, bool selectedOnly, Padding padding ) : System

Initializes a new instance of PDFExporter.

Method Details

Export() public method

Exports the given diagram into a PDF. The PDF is saved at the location given in fileName. If selectedOnly is true, only the selected elements of the diagram get exported.
public Export ( ) : void
return void

PDFExporter() public method

Initializes a new instance of PDFExporter.
public PDFExporter ( string fileName, IDocument nclassDocument, bool selectedOnly, Padding padding ) : System
fileName string The location where to save the created PDF.
nclassDocument IDocument The diagram to export to the PDF.
selectedOnly bool True if only the selected elements should be exported.
padding Padding The size of the border arround the diagram.
return System