DiagramExporter.ExportDiagrams Method (IList<String>, String, Boolean)
Exports multiple diagrams as .png images.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Sub ExportDiagrams ( _
diagramFiles As IList(Of String), _
exportPath As String, _
overwriteExistingFiles As Boolean _
)
[CLSCompliantAttribute(false)]
public void ExportDiagrams(
IList<string> diagramFiles,
string exportPath,
bool overwriteExistingFiles
)
[CLSCompliantAttribute(false)]
public:
void ExportDiagrams(
IList<String^>^ diagramFiles,
String^ exportPath,
bool overwriteExistingFiles
)
[<CLSCompliantAttribute(false)>]
member ExportDiagrams :
diagramFiles:IList<string> *
exportPath:string *
overwriteExistingFiles:bool -> unit
public function ExportDiagrams(
diagramFiles : IList<String>,
exportPath : String,
overwriteExistingFiles : boolean
)
Parameters
diagramFiles
Type: IList<String>The list of diagram files to export.
exportPath
Type: StringThe path of the location to which the images should be exported.
overwriteExistingFiles
Type: Booleantrue to overwrite files that are already in the location; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.