Partager via


DiagramExporter.ExportDiagram(String, String, ImageFormat, Boolean) Method

Definition

Export a single diagram.

public:
 void ExportDiagram(System::String ^ diagramFileName, System::String ^ exportPath, System::Drawing::Imaging::ImageFormat ^ imageFormat, bool overwriteExistingFiles);
public void ExportDiagram (string diagramFileName, string exportPath, System.Drawing.Imaging.ImageFormat imageFormat, bool overwriteExistingFiles);
member this.ExportDiagram : string * string * System.Drawing.Imaging.ImageFormat * bool -> unit
Public Sub ExportDiagram (diagramFileName As String, exportPath As String, imageFormat As ImageFormat, overwriteExistingFiles As Boolean)

Parameters

diagramFileName
String

The name of the diagram file.

exportPath
String

The path to export the image to.

imageFormat
ImageFormat

The format of the image to create.

overwriteExistingFiles
Boolean

Indicates whether use wants to overwrite files if they exist in disk.

Applies to