MindFusion.Wpf Pack Programmer's Guide
PdfExporter.Export Method (DiagramDocument, Stream)
See Also
 





Creates a PDF file representing the specified DiagramDocument.

Namespace: MindFusion.Diagramming.Wpf.Export
Assembly: MindFusion.Diagramming.Wpf.PdfExport

 Syntax

C#  Copy Code

public void Export (
    DiagramDocument diagramDoc,
    Stream stream
)

Visual Basic  Copy Code

Public Sub Export( _
    diagramDoc As DiagramDocument, _
    stream As Stream _
)

 Parameters

diagramDoc

A reference to the DiagramDocument that will be exported.

stream

Output System.IO.Stream to which to write the PDF data.

 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, each DiagramPage is paginated individually using the specified PDF page size (A4 etc).

 See Also

Export Method Overload List
PdfExporter Members
PdfExporter Class
MindFusion.Diagramming.Wpf.Export Namespace