TextBoxOptions Class
Contents
[
Hide
]TextBoxOptions class
Represents the text options of the shape
type TextBoxOptions struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
GetShapeTextVerticalAlignment | It corresponds to “Format Shape - Text Options - Text Box - Vertical Alignment” in Excel. |
SetShapeTextVerticalAlignment | It corresponds to “Format Shape - Text Options - Text Box - Vertical Alignment” in Excel. |
GetResizeToFitText | Indicates whether to resize the shape to fit the text |
SetResizeToFitText | Indicates whether to resize the shape to fit the text |
GetShapeTextDirection | Gets or sets the text display direction within a given text body.It corresponds to “Format Shape - Text Options - Text Box - Text direction” in Excel |
SetShapeTextDirection | Gets or sets the text display direction within a given text body.It corresponds to “Format Shape - Text Options - Text Box - Text direction” in Excel |
GetLeftMarginPt | Gets and sets the left margin in unit of Points. |
SetLeftMarginPt | Gets and sets the left margin in unit of Points. |
GetRightMarginPt | Gets and sets the right margin in unit of Points. |
SetRightMarginPt | Gets and sets the right margin in unit of Points. |
GetTopMarginPt | Gets and sets the top margin in unit of Points. |
SetTopMarginPt | Gets and sets the top margin in unit of Points. |
GetBottomMarginPt | Returns the bottom margin in unit of Points |
SetBottomMarginPt | Returns the bottom margin in unit of Points |
GetAllowTextToOverflow | Whether allow text to overflow shape. |
SetAllowTextToOverflow | Whether allow text to overflow shape. |
GetWrapTextInShape | Specifies text wrapping within a shape.False - No wrapping will occur on text body.True - Wrapping will occur on text body. |
SetWrapTextInShape | Specifies text wrapping within a shape.False - No wrapping will occur on text body.True - Wrapping will occur on text body. |