Share via


CanvasShapes.AddShape(Int32, Single, Single, Single, Single) Methode

Definition

Fügt einem Zeichenbereich eine AutoForm hinzu.

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

Parameter

Type
Int32

Der Typ der zurückzugebenden Form. Kann eine beliebige MsoAutoShapeType Konstante sein.

Left
Single

Die in Punkt gemessene Position des linken Rands der AutoForm.

Top
Single

Die in Punkt gemessene Position des oberen Rands der AutoForm.

Width
Single

Die in Punkt gemessene Breite der AutoForm.

Height
Single

Die in Punkt gemessene Höhe der AutoForm.

Gibt zurück

Gilt für: