CanvasShapes.AddShape(Int32, Single, Single, Single, Single) メソッド

定義

オートシェイプを描画キャンバスに追加します。

public:
 Microsoft::Office::Interop::Word::Shape ^ AddShape(int Type, float Left, float Top, float Width, float Height);
public Microsoft.Office.Interop.Word.Shape AddShape (int Type, float Left, float Top, float Width, float Height);
abstract member AddShape : int * single * single * single * single -> Microsoft.Office.Interop.Word.Shape
Public Function AddShape (Type As Integer, Left As Single, Top As Single, Width As Single, Height As Single) As Shape

パラメーター

Type
Int32

返される図形の種類。 任意 MsoAutoShapeType の定数を指定できます。

Left
Single

オートシェイプの左端の位置をポイント数で指定します。

Top
Single

オートシェイプの上端の位置をポイント数で指定します。

Width
Single

オートシェイプの幅をポイント数で指定します。

Height
Single

オートシェイプの高さをポイント数で指定します。

戻り値

適用対象