Diagram.CreateMetafile Method (ICollection, String, Boolean)

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

Syntax

'Declaration
Public Function CreateMetafile ( _
    selectedShapesToDraw As ICollection, _
    fileName As String, _
    paintDiagram As Boolean _
) As Metafile
public Metafile CreateMetafile(
    ICollection selectedShapesToDraw,
    string fileName,
    bool paintDiagram
)
public:
Metafile^ CreateMetafile(
    ICollection^ selectedShapesToDraw, 
    String^ fileName, 
    bool paintDiagram
)
member CreateMetafile : 
        selectedShapesToDraw:ICollection * 
        fileName:string * 
        paintDiagram:bool -> Metafile
public function CreateMetafile(
    selectedShapesToDraw : ICollection, 
    fileName : String, 
    paintDiagram : boolean
) : Metafile

Parameters

  • selectedShapesToDraw
    Type: ICollection
  • fileName
    Type: String
  • paintDiagram
    Type: Boolean

Return Value

Type: Metafile

.NET Framework Security

See Also

Reference

Diagram Class

CreateMetafile Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace