Aspose::Cells::Drawing::Shape::GetTextBoxOptions method
Shape::GetTextBoxOptions method
Gets the text information in the shape.
TextBoxOptions Aspose::Cells::Drawing::Shape::GetTextBoxOptions()
Examples
TextBoxOptions textBoxOpt = shape.GetTextBoxOptions();
textBoxOpt.SetShapeTextVerticalAlignment(ShapeTextVerticalAlignmentType::Left);
textBoxOpt.SetTopMarginPt(0.2);
textBoxOpt.SetLeftMarginPt(0.2);
textBoxOpt.SetRightMarginPt(0.2);
textBoxOpt.SetBottomMarginPt(0.2);
See Also
- Class TextBoxOptions
- Class Shape
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++