C# Class PDFExport.PDFExporter

Afficher le fichier Open project: gbaychev/NClass Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat void

PDFExporter() public méthode

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.
Résultat System