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

DiagramControl.PrintToPdf Method

Name Parameters Description
PrintToPdf(PdfExportOptions, Nullable<SizeF>, Nullable<Padding>, Boolean) options, pageSize, pageMargin, showOptionsDialog Exports the diagram to a multi-page PDF file specified by the user in the invoked dialog window.
PrintToPdf(Stream, Nullable<RectangleF>, PdfExportOptions, Nullable<SizeF>, Nullable<Padding>) stream, printBounds, options, pageSize, pageMargin Exports the diagram to a multi-page PDF document which is sent to the specified stream.