## Shape(doc, shape_type) {#documentbase_shapetype} Creates a new shape object. ```python def __init__(self, doc: aspose.words.DocumentBase, shape_type: aspose.words.drawing.ShapeType): ... ``` | P......Shows how to create and format a text box. ```python doc = aw.Document()...Document() # Create a floating text box. text_box = aw.drawing.Shape(doc...