Exports diagrams to Adobe Portable Document Format (PDF) files.
Namespace: MindFusion.Diagramming.Wpf.Export
Assembly: MindFusion.Diagramming.Wpf.PdfExport
C# Copy Code |
---|
public class PdfExporter |
Visual Basic Copy Code |
---|
Public Class PdfExporter |
In order to use this component, add references to the PdfExport.dll, MindFusion.Pdf.dll and MindFusion.Common.dll assemblies to your project.
The Adobe Portable Document Format (PDF) is the most popular open format for representing textual and graphic information in resolution independent manner. In addition, PDF is a multiplatform format, viewable and printable on all popular operating systems. These features, along with its ability to describe complex documents that use a variety of graphics, images and fonts, make PDF a good choice when it comes to distributing your flowcharts and diagrams to others.
The PdfExporter class lets you create PDF files that represent WpfDiagram diagrams. In order to do that, create a PdfExporter instance and call its Export method. If you need to set the page size and orientation, use the PageSize, and PageOrientation properties. Margins specifies the page margins for all pages in the document. The AutoScale property lets you scale the diagram so it fits in one or more PDF pages.
System.Object
MindFusion.Diagramming.Wpf.Export.PdfExporter