Skip to main content
All docs
V24.1

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.