Creates a PDF file representing the specified DiagramDocument.
Namespace: MindFusion.Diagramming.Wpf.Export
Assembly: MindFusion.Diagramming.Wpf.PdfExport
C# Copy Code |
---|
public void Export ( |
Visual Basic Copy Code |
---|
Public Sub Export( _ |
A reference to the DiagramDocument that will be exported.
Output System.IO.Stream to which to write the PDF data.
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, each DiagramPage is paginated individually using the specified PDF page size (A4 etc).