DiagramExporter.ExportDiagram(String, String, ImageFormat, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.