Share via


DiagramExporter.ExportDiagrams Method (IList<String>, String, ImageFormat, Boolean)

Exports multiple diagrams as images in the specified format.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Public Sub ExportDiagrams ( _
    diagramFiles As IList(Of String), _
    exportPath As String, _
    format As ImageFormat, _
    overwriteExistingFiles As Boolean _
)
public void ExportDiagrams(
    IList<string> diagramFiles,
    string exportPath,
    ImageFormat format,
    bool overwriteExistingFiles
)
public:
void ExportDiagrams(
    IList<String^>^ diagramFiles, 
    String^ exportPath, 
    ImageFormat^ format, 
    bool overwriteExistingFiles
)
member ExportDiagrams : 
        diagramFiles:IList<string> * 
        exportPath:string * 
        format:ImageFormat * 
        overwriteExistingFiles:bool -> unit
public function ExportDiagrams(
    diagramFiles : IList<String>, 
    exportPath : String, 
    format : ImageFormat, 
    overwriteExistingFiles : boolean
)

Parameters

  • diagramFiles
    Type: IList<String>

    The list of diagram files to export.

  • exportPath
    Type: String

    The path of the location to which the images should be exported.

  • format
    Type: ImageFormat

    The format of the exported images.

  • overwriteExistingFiles
    Type: Boolean

    true if you want to overwrite files that are already in the location; otherwise, false.

.NET Framework Security

See Also

Reference

DiagramExporter Class

ExportDiagrams Overload

Microsoft.VisualStudio.Modeling.Shell Namespace