PictureShape Constructor(IShapeContainer,Image,Int32,Int32,Int32,Int32)
In This Topic
Initializes a new instance of an
PictureShape.
Syntax
'Declaration
Public Function New( _
ByVal As IShapeContainer, _
ByVal As System.Drawing.Image, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer _
)
public PictureShape(
IShapeContainer ,
System.Drawing.Image ,
System.int ,
System.int ,
System.int ,
System.int
)
Parameters
- container
- IShapeContainer object that owns the shape container.
- img
- The image contained in the new PictureShape.
- x
- The horizontal position of the image with respect to the sheet, in twips.
- y
- The vertical position of the image with respect to the sheet, in twips.
- width
- The width of the image, in twips.
- height
- The height of the image, in twips.
See Also