CanvasShapes.AddShape(Int32, Single, Single, Single, Single) Método

Definición

Agrega una autoforma a un lienzo de dibujo.

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

Parámetros

Type
Int32

El tipo de forma que se va a devolver. Puede ser cualquier MsoAutoShapeType constante.

Left
Single

La posición, medida en puntos, del borde izquierdo de la autoforma.

Top
Single

La posición, medida en puntos, del borde superior de la autoforma.

Width
Single

El ancho, medido en puntos, de la autoforma.

Height
Single

El alto, medido en puntos, de la autoforma.

Devoluciones

Se aplica a