Search
PdfExporter Class
Remarks See Also
 





Exports diagrams to Adobe Portable Document Format (PDF) files.

Namespace: MindFusion.Diagramming.Export
Package: MindFusion.Diagramming.Export.Pdf

 Syntax

C#  Copy Code

public class PdfExporter

Visual Basic  Copy Code

Public Class PdfExporter

 Remarks

In order to use this component, add references to the MindFusion.Diagramming.Export.Pdf.dll and MindFusion.Pdf.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 NetDiagram 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.

Pages can display optional headers and footers. Set the HeaderFormat and HeaderFont properties to customize headers, and the FooterFormat and FooterFont properties to customize footers.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Export.PdfExporter

 See Also