TextFramePreference

Text frame preferences.

Objects:

Boolean, FirstBaseline, Number, Object, String, VerticalJustification

Property Listing

Property

Type

Access

Description

firstBaselineOffset

FirstBaseline

FirstBaseline.ASCENT_OFFSET

FirstBaseline.CAP_HEIGHT

FirstBaseline.EMBOX_HEIGHT

FirstBaseline.FIXED_HEIGHT

FirstBaseline.LEADING_OFFSET

FirstBaseline.X_HEIGHT

read/write

The distance between the baseline of the text and the top inset of the text frame or cell.

ignoreWrap

Boolean

read/write

If true, ignores text wrap settings for drawn or placed objects in the text frame.

insetSpacing

Unit

Array of 4 Units.

read/write

The text inset of the text frame. Can return: Unit or Array of 4 Units.

minimumFirstBaselineOffset

Number

String

read/write

The minimum distance in points between the baseline of the text and the top inset of the frame or cell

parent

Document

Application

TextFrame

readonly

The parent of the TextFramePreference (a Application, Document or TextFrame).

properties

Object

read/write

A property that allows setting of several properties at the same time.

textColumnCount

Number

read/write

The number of columns in the text frame

textColumnFixedWidth

Number

String

read/write

The fixed column width of the text frame

textColumnGutter

Number

String

read/write

The distance between the text frame's columns.

useFixedColumnWidth

Boolean

read/write

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

VerticalJustification.BOTTOM_ALIGN

VerticalJustification.CENTER_ALIGN

VerticalJustification.JUSTIFY_ALIGN

VerticalJustification.TOP_ALIGN

read/write

The vertical alignment of the text content.

verticalThreshold

Number

String

read/write

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.

Object of

Application.textFramePreferences

Document.textFramePreferences

TextFrame.textFramePreferences