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
| Name | Type | Access | Description |
|---|---|---|---|
type | str | Read | Gets the type. |
shape_type | int | None | Read | Gets the shape type. |
name | str | Read | Gets the name. |
width | float | None | Read | Gets the width. |
height | float | None | Read | Gets the height. |
left | float | Read | Gets the left. |
top | float | Read | Gets the top. |
is_inline | bool | None | Read | Gets the is inline. |
has_image | bool | None | Read | Gets the has image. |
image_data | Optional[ImageData] | Read | Gets the image data. |
text_box | dict[str, Any] | None | Read | Gets the text box. |
shading | Shading | Read | Gets the shading. |
borders | list[Border] | Read | Gets the borders. |
vertical_alignment | int | Read | Gets the vertical alignment. |
wrap_type | int | Read | Gets the wrap type. |
relative_horizontal_position | int | Read | Gets the relative horizontal position. |
relative_vertical_position | int | Read | Gets the relative vertical position. |
horizontal_position | float | Read | Gets the horizontal position. |
vertical_position | float | Read | Gets the vertical position. |
horizontal_alignment | int | Read | Gets the horizontal alignment. |
vertical_anchor_alignment | int | Read | Gets the vertical anchor alignment. |
behind_text | bool | Read | Gets the behind text. |
allow_overlap | bool | Read | Gets the allow overlap. |
layout_in_cell | bool | Read | Gets the layout in cell. |
is_locked | bool | Read | Gets the is locked. |