Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramControl.PrintToPdf Method

Name Parameters Description
PrintToPdf(PdfExportOptions, Nullable<Size>, Nullable<Thickness>, 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<Size>, Nullable<Thickness>, 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<Size>, Nullable<Thickness>, 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<Rect>, PdfExportOptions, Nullable<Size>, Nullable<Thickness>) 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<Rect>, PdfExportOptions, Nullable<Size>, Nullable<Thickness>) 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<Rect>, PdfExportOptions, Nullable<Size>, Nullable<Thickness>) stream, printBounds, options, pageSize, pageMargin Exports the diagram to a multi-page PDF document which is sent to the specified stream.