Text frame preferences.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| firstBaselineOffset | FirstBaseline : ASCENT_OFFSET CAP_HEIGHT LEADING_OFFSET EMBOX_HEIGHT X_HEIGHT FIXED_HEIGHT |
r/w | The distance between the baseline of the text and the top inset of the TextFramePreference. |
| ignoreWrap | bool | r/w | If true, ignores text wrap settings for drawn or placed objects in the text frame. |
| insetSpacing | any | r/w | The amount to offset text from the edges of the text frame, specified either as a single value applied uniformly to all sides of the text frame or as an array of 4 values in the format [top inset, left inset, bottom inset, right inset]. Can return: Unit (0 – 8640 points) or Array of 4 Units (0 – 8640 points). |
| minimumFirstBaselineOffset | number | r/w | The minimum distance between the baseline of the text and the top inset of the TextFramePreference. |
| parent | any | readonly | The parent of the TextFramePreference (a Application, Document, TextFrame or ObjectStyle). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
| textColumnCount | number | r/w | The number of columns in the text frame. Note: Depending on the value of use fixed column width, the number of columns can change automatically when the text frame size changes. |
| textColumnFixedWidth | number | r/w | The column width of the columns in the text frame. |
| textColumnGutter | number | r/w | The space between columns in the text frame. |
| useFixedColumnWidth | bool | r/w | If true, maintains column width when the text frame is resized. If false, causes columns to resize when the text frame is resized. Note: When true, resizing the frame can change the number of columns in the frame. |
| verticalJustification | VerticalJustification : TOP_ALIGN CENTER_ALIGN BOTTOM_ALIGN JUSTIFY_ALIGN |
r/w | The vertical alignment of the text content. |
| verticalThreshold | number | r/w | The maximum amount of vertical space between two paragraphs. Note: Valid only when vertical justification is justified; the specified amount is applied in addition to the space before or space after values defined for the paragraph. |
Methods
Array of TextFramePreferencegetElements ()
Resolves the object specifier, creating an array of object references.
string toSource ()
Generates a string which, if executed, will return the TextFramePreference.
string toSpecifier ()
Retrieves the object specifier.
Element of:
Application.textFramePreferences
Document.textFramePreferences
ObjectStyle.textFramePreferences
TextFrame.textFramePreferences
Returned by:
Array of TextFramePreference TextFramePreference .getElements (
)