Shape constructor

Shape(doc, shapeType)

Creates a new shape object.

Shape(doc: Aspose.Words.DocumentBase, shapeType: Aspose.Words.Drawing.ShapeType)
ParameterTypeDescription
docDocumentBaseThe owner document.
shapeTypeShapeTypeThe type of the shape to create.

Remarks

You should specify desired shape properties after you created a shape.

See Also