Skip to main content

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(Double, PdfExportOptions, Nullable<SizeF>, Nullable<Padding>, Boolean) scale, options, pageSize, pageMargin, showOptionsDialog Exports the diagram to a multi-page PDF file specified by the user in the invoked dialog window.
PrintToPdf(Int32, OrientationKind, PdfExportOptions, Nullable<SizeF>, Nullable<Padding>, Boolean) pagesCount, fitOrientation, options, pageSize, pageMargin, showOptionsDialog Exports the diagram to a multi-page PDF file specified by the user in the invoked dialog window.
PrintToPdf(Stream, Double, Nullable<RectangleF>, PdfExportOptions, Nullable<SizeF>, Nullable<Padding>) stream, scale, printBounds, options, pageSize, pageMargin Exports the diagram to a multi-page PDF document which is sent to the specified stream.
PrintToPdf(Stream, Int32, Orientation, Nullable<RectangleF>, PdfExportOptions, Nullable<SizeF>, Nullable<Padding>) stream, pagesCount, fitOrientation, printBounds, options, pageSize, pageMargin Exports the diagram to a multi-page PDF document which is sent to the specified stream.
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.