Skip to main content
All docs
V24.1

DiagramControl.ExportToImage Method

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