Skip to main content
A newer version of this page is available. .
All docs
V20.2

DiagramControl.ExportToImage Method

Name Parameters Description
ExportToImage(DiagramImageExportFormat, Nullable<Rect>, Nullable<Double>, Nullable<Double>) exportFormat, exportBounds, dpi, scale Invokes the Export dialog window.
ExportToImage(Stream, DiagramImageExportFormat, Nullable<Rect>, Nullable<Double>, Nullable<Double>) stream, exportFormat, exportBounds, dpi, scale Exports the diagram to the specified stream in an image format.
ExportToImage(String, Nullable<Rect>, Nullable<Double>, Nullable<Double>) path, exportBounds, dpi, scale Exports the diagram to the specified file.