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
- 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.