text_box_options property

text_box_options property

Gets the text information in the shape

Example

from aspose.cells.drawing.texts import ShapeTextVerticalAlignmentType

textBoxOpt = shape.text_box_options
textBoxOpt.shape_text_vertical_alignment = ShapeTextVerticalAlignmentType.LEFT
textBoxOpt.top_margin_pt = 0.2
textBoxOpt.left_margin_pt = 0.2
textBoxOpt.right_margin_pt = 0.2
textBoxOpt.bottom_margin_pt = 0.2

Definition:

@property
def text_box_options(self):
    ...

See Also