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





Creates a PDF file representing the specified DiagramDocument.

Namespace: MindFusion.Diagramming.Export
Assembly: MindFusion.Diagramming.Export.Pdf

 Syntax

C#  Copy Code

public void Export (
    DiagramDocument diagramDoc,
    string filePath
)

Visual Basic  Copy Code

Public Sub Export( _
    diagramDoc As DiagramDocument, _
    filePath As String _
)

 Parameters

diagramDoc

A reference to the DiagramDocument that will be exported.

filePath

The full path to the PDF file.

 Remarks

If PageSize is set to DiagramSize, the number of pages in the output PDF is equal to DiagramDocument.Pages.Count and each PDF page is as large as the respective DiagramPage.Bounds. Otherwise, all diagram pages are paginated using the specified PDF page size (A4 etc).

 See Also