Share via


ImageShapeGeometry Constructor (String)

Initializes a new instance of the MetafileShapeGeometry class from a direct path to an image

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

Syntax

'Declaration
Public Sub New ( _
    imageFileName As String _
)
public ImageShapeGeometry(
    string imageFileName
)
public:
ImageShapeGeometry(
    String^ imageFileName
)
new : 
        imageFileName:string -> ImageShapeGeometry
public function ImageShapeGeometry(
    imageFileName : String
)

Parameters

.NET Framework Security

See Also

Reference

ImageShapeGeometry Class

ImageShapeGeometry Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace