Exports JDiagram diagrams to Adobe Portable Document Format (PDF) files.
Namespace: com.mindfusion.diagramming.export
Package: com.mindfusion.diagramming.export
Java
![]() |
---|
public class PdfExporter |
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 JDiagram 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 setPageSize, and setPageOrientation methods. To specify the page margins for all pages in the document, call the setMarginLeft, setMarginTop, etc. methods. setAutoScale lets you scale the diagram so that it fits in one or more PDF pages.
java.lang.Object
com.mindfusion.diagramming.export.PdfExporter