Skip to main content
A newer version of this page is available. .

DiagramControl.ExportToPdf Method

Name Parameters Description
ExportToPdf(PdfExportOptions, Boolean) options, showOptionsDialog Exports the diagram to a single-page PDF file specified by the user in the invoked dialog window.
ExportToPdf(Stream, Nullable<Rect>, PdfExportOptions) stream, exportBounds, options Exports the diagram to a single-page PDF document which is sent to the specified stream.
ExportToPdf(String, Nullable<Rect>, PdfExportOptions) path, exportBounds, options Exports the diagram to a single-page PDF file.
ExportToPdf(Rect, PdfExportOptions, Boolean) exportBounds, options, showOptionsDialog Exports the diagram to a single-page PDF file specified by the user in the invoked dialog window.