CanvasShapes.AddTextbox メソッド

定義

描画キャンバスにテキスト ボックスを追加します。

public:
 Microsoft::Office::Interop::Word::Shape ^ AddTextbox(Microsoft::Office::Core::MsoTextOrientation Orientation, float Left, float Top, float Width, float Height);
public Microsoft.Office.Interop.Word.Shape AddTextbox (Microsoft.Office.Core.MsoTextOrientation Orientation, float Left, float Top, float Width, float Height);
abstract member AddTextbox : Microsoft.Office.Core.MsoTextOrientation * single * single * single * single -> Microsoft.Office.Interop.Word.Shape
Public Function AddTextbox (Orientation As MsoTextOrientation, Left As Single, Top As Single, Width As Single, Height As Single) As Shape

パラメーター

Orientation
MsoTextOrientation

文字列の向きを指定します。 選択またはインストールされている言語の設定 (たとえば、日本語) によって、これらのいくつかの定数が使用できない場合があります。

Left
Single

テキスト ボックスの左端の位置をポイント数で指定します。

Top
Single

テキスト ボックスの上端の位置をポイント数で指定します。

Width
Single

テキスト ボックスの幅をポイント数で指定します。

Height
Single

テキスト ボックスの高さをポイント数で指定します。

戻り値

適用対象