Bagikan melalui


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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

  • imageFileName
    Type: String

.NET Framework Security

See Also

Reference

ImageShapeGeometry Class

ImageShapeGeometry Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace