TextBoxOptions Class

TextBoxOptions class

Represents the text options of the shape


type TextBoxOptions struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetShapeTextVerticalAlignmentIt corresponds to “Format Shape - Text Options - Text Box - Vertical Alignment” in Excel.
SetShapeTextVerticalAlignmentIt corresponds to “Format Shape - Text Options - Text Box - Vertical Alignment” in Excel.
GetResizeToFitTextIndicates whether to resize the shape to fit the text
SetResizeToFitTextIndicates whether to resize the shape to fit the text
GetShapeTextDirectionGets or sets the text display direction within a given text body.It corresponds to “Format Shape - Text Options - Text Box - Text direction” in Excel
SetShapeTextDirectionGets or sets the text display direction within a given text body.It corresponds to “Format Shape - Text Options - Text Box - Text direction” in Excel
GetLeftMarginPtGets and sets the left margin in unit of Points.
SetLeftMarginPtGets and sets the left margin in unit of Points.
GetRightMarginPtGets and sets the right margin in unit of Points.
SetRightMarginPtGets and sets the right margin in unit of Points.
GetTopMarginPtGets and sets the top margin in unit of Points.
SetTopMarginPtGets and sets the top margin in unit of Points.
GetBottomMarginPtReturns the bottom margin in unit of Points
SetBottomMarginPtReturns the bottom margin in unit of Points
GetAllowTextToOverflowWhether allow text to overflow shape.
SetAllowTextToOverflowWhether allow text to overflow shape.
GetWrapTextInShapeSpecifies text wrapping within a shape.False - No wrapping will occur on text body.True - Wrapping will occur on text body.
SetWrapTextInShapeSpecifies text wrapping within a shape.False - No wrapping will occur on text body.True - Wrapping will occur on text body.