PictureShapeの新しいインスタンスを初期化します。
シンタックス
'宣言
Public Function New( _
ByVal As IShapeContainer, _
ByVal As System.Windows.Media.Imaging.WriteableBitmap, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer _
)
public PictureShape(
IShapeContainer ,
System.Windows.Media.Imaging.WriteableBitmap ,
System.int ,
System.int ,
System.int ,
System.int
)
パラメータ
- container
- 図形コンテナを所有する IShapeContainerオブジェクト。
- img
- 新しい PictureShapeに格納されている画像。
- x
- シートに対する画像の水平位置(twips 単位)。
- y
- シートに対する画像の垂直位置(twips 単位)。
- width
- 画像の幅(twips 単位)。
- height
- 画像の高さ(twips 単位)。
参照