Partager via


ImageShapeGeometry Constructors

Definition

Overloads

ImageShapeGeometry(Image)

Initializes a new instance of the MetafileShapeGeometry class from an Image

ImageShapeGeometry(String)

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

ImageShapeGeometry(Image)

Initializes a new instance of the MetafileShapeGeometry class from an Image

public:
 ImageShapeGeometry(System::Drawing::Image ^ image);
public ImageShapeGeometry (System.Drawing.Image image);
new Microsoft.VisualStudio.Modeling.Diagrams.ImageShapeGeometry : System.Drawing.Image -> Microsoft.VisualStudio.Modeling.Diagrams.ImageShapeGeometry
Public Sub New (image As Image)

Parameters

image
Image

Applies to

ImageShapeGeometry(String)

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

public:
 ImageShapeGeometry(System::String ^ imageFileName);
public ImageShapeGeometry (string imageFileName);
new Microsoft.VisualStudio.Modeling.Diagrams.ImageShapeGeometry : string -> Microsoft.VisualStudio.Modeling.Diagrams.ImageShapeGeometry
Public Sub New (imageFileName As String)

Parameters

imageFileName
String

Applies to