ShapeNode

Overview

ShapeNode is a class in Aspose.Words FOSS for Python. Inherits from: BaseModel.

ShapeNode.type is a string indicating the node’s type identifier.

Properties: allow_overlap, behind_text, borders, has_image, height, horizontal_alignment, and 19 more.

Properties

NameTypeAccessDescription
typestrReadGets the type.
shape_typeint | NoneReadGets the shape type.
namestrReadGets the name.
widthfloat | NoneReadGets the width.
heightfloat | NoneReadGets the height.
leftfloatReadGets the left.
topfloatReadGets the top.
is_inlinebool | NoneReadGets the is inline.
has_imagebool | NoneReadGets the has image.
image_dataOptional[ImageData]ReadGets the image data.
text_boxdict[str, Any] | NoneReadGets the text box.
shadingShadingReadGets the shading.
borderslist[Border]ReadGets the borders.
vertical_alignmentintReadGets the vertical alignment.
wrap_typeintReadGets the wrap type.
relative_horizontal_positionintReadGets the relative horizontal position.
relative_vertical_positionintReadGets the relative vertical position.
horizontal_positionfloatReadGets the horizontal position.
vertical_positionfloatReadGets the vertical position.
horizontal_alignmentintReadGets the horizontal alignment.
vertical_anchor_alignmentintReadGets the vertical anchor alignment.
behind_textboolReadGets the behind text.
allow_overlapboolReadGets the allow overlap.
layout_in_cellboolReadGets the layout in cell.
is_lockedboolReadGets the is locked.

See Also