Text frame preferences.
text frame preference Properties
| Property | Type | Access | Description |
|---|---|---|---|
| class | type | read | The class descriptor type. |
| first baseline offset | ascent offset, cap height, leading offset, embox height, x height, fixed height, 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 text frame or cell. |
| ignore wrap | boolean | r/w | If true, ignores text wrap settings for drawn or placed objects in the text frame. |
| inset spacing | 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: num… |
| minimum first baseline offset | number | r/w | The minimum distance between the baseline of the text and the top inset of the text frame or cell. Can return: number or string (0 – 8640 points). |
| object reference | text frame preference | read | An object reference for the object. |
| parent | specifier | read | The parent of the text frame preference (a application, document, text frame or object style). Can return: application, document, text frame or object style. |
| properties | record | r/w | A property that allows setting of several properties at the same time. |
| text column count | integer | 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. Can return: integer (1 – 40). |
| text column fixed width | number | r/w | The column width of the columns in the text frame. Can return: number or string (0 – 8640 points). |
| text column gutter | number | r/w | The space between columns in the text frame. Can return: number or string (0 – 8640 points). |
| use fixed column width | boolean | 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. |
| vertical justification | top align, center align, bottom align, justify align, top align, center align, bottom align, justify align, |
r/w | The vertical alignment of the text content. |
| vertical threshold | 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. Can return: number … |