Search
PdfExporter.Export Method (Diagram, String)
See Also
 





Creates a PDF file representing the specified NetDiagram diagram.

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

 Syntax

C#  Copy Code

public void Export (
    Diagram diagram,
    string filePath
)

Visual Basic  Copy Code

Public Sub Export( _
    diagram As Diagram, _
    filePath As String _
)

 Parameters

diagram

A reference to the diagram that will be exported.

filePath

The full path to the PDF file.

 Remarks

By default, PdfExporter preserves the original scale of the diagram. If Bounds can not fit in a single page of size PageSize, the exported diagram is divided into multiple pages. The AutoScale property allows scaling the diagram so that it exactly fits in one or more pages.

 See Also