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<RectangleF>, PdfExportOptions) stream, exportBounds, options Exports the diagram to a single-page PDF document which is sent to the specified stream.