Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Word.Interfaces.TextFrameLoadOptions interface
- Package:
- word
Represents the text frame of a Word.Shape object.
Properties
| $all | Specifying |
| autoSizeSetting | Specifies the automatic sizing settings for the text frame. A text frame can be set to automatically fit the text to the text frame, to automatically fit the text frame to the text, or not perform any automatic sizing. |
| bottomMargin | Specifies the bottom margin, in points, of the text frame. |
| hasText | Returns |
| leftMargin | Specifies the left margin, in points, of the text frame. |
| noTextRotation | Specifies whether the text in the text frame shouldn't rotate when the shape is rotated. |
| orientation | Specifies the angle to which the text is oriented for the text frame. See |
| rightMargin | Specifies the right margin, in points, of the text frame. |
| topMargin | Specifies the top margin, in points, of the text frame. |
| verticalAlignment | Specifies the vertical alignment of the text frame. See |
| wordWrap | Determines whether lines break automatically to fit text inside the shape. |
Property Details
$all
Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).
$all?: boolean;
Property Value
boolean
autoSizeSetting
Specifies the automatic sizing settings for the text frame. A text frame can be set to automatically fit the text to the text frame, to automatically fit the text frame to the text, or not perform any automatic sizing.
autoSizeSetting?: boolean;
Property Value
boolean
Remarks
bottomMargin
Specifies the bottom margin, in points, of the text frame.
bottomMargin?: boolean;
Property Value
boolean
Remarks
hasText
Returns true if the text frame contains text, otherwise, false.
hasText?: boolean;
Property Value
boolean
Remarks
leftMargin
Specifies the left margin, in points, of the text frame.
leftMargin?: boolean;
Property Value
boolean
Remarks
noTextRotation
Specifies whether the text in the text frame shouldn't rotate when the shape is rotated.
noTextRotation?: boolean;
Property Value
boolean
Remarks
orientation
Specifies the angle to which the text is oriented for the text frame. See Word.ShapeTextOrientation for details.
orientation?: boolean;
Property Value
boolean
Remarks
rightMargin
Specifies the right margin, in points, of the text frame.
rightMargin?: boolean;
Property Value
boolean
Remarks
topMargin
Specifies the top margin, in points, of the text frame.
topMargin?: boolean;
Property Value
boolean
Remarks
verticalAlignment
Specifies the vertical alignment of the text frame. See Word.ShapeTextVerticalAlignment for details.
verticalAlignment?: boolean;
Property Value
boolean
Remarks
wordWrap
Determines whether lines break automatically to fit text inside the shape.
wordWrap?: boolean;
Property Value
boolean
Remarks
Office Add-ins
Feedback
Was this page helpful?
