TextFramePreference

テキストフレーム設定

プロパティ(parentとその逆)

Ver.プロパティR/O
[7][7.5][8]
[9][10][11]
parent Application, Document, TextFrame, ObjectStyle
[7][7.5][8]
[9][10][11]
eventListeners EventListeners
[7][7.5][8]
[9][10][11]
events Events

プロパティ

Ver.プロパティ名R/O説明
[8]
[9][10][11]
autoSizingReferencePoint AutoSizingReferenceEnum
AutoSizingReferenceEnum
Ver.10進数/文字列説明
[8]
[9][10][11]
BOTTOM_CENTER_POINT1651467109
boce
下辺の中央
[8]
[9][10][11]
BOTTOM_LEFT_POINT1651469413
bole
左下角
[8]
[9][10][11]
BOTTOM_RIGHT_POINT1651470953
bori
右下角
[8]
[9][10][11]
CENTER_POINT1668183154
cntr
中心
[8]
[9][10][11]
LEFT_CENTER_POINT1818583909
lece
左辺の中央
[8]
[9][10][11]
RIGHT_CENTER_POINT1919509349
rice
右辺の中央
[8]
[9][10][11]
TOP_CENTER_POINT1953456997
toce
上辺の中央
[8]
[9][10][11]
TOP_LEFT_POINT1953459301
tole
左上角
[8]
[9][10][11]
TOP_RIGHT_POINT1953460841
tori
右上角
The reference point for auto sizing of text frame. Reference point is automatically adjusted to the suitable value depending on the auto-sizing type value. As an example, top left reference point becomes top center for height only dimension
[8]
[9][10][11]
autoSizingType AutoSizingTypeEnum
AutoSizingTypeEnum
Ver.10進数/文字列説明
[8]
[9][10][11]
HEIGHT_AND_WIDTH1752069993
hnwi
Text frame will be resized in both(height and width) dimensions.
[8]
[9][10][11]
HEIGHT_AND_WIDTH_ PROPORTIONALLY1752070000
hnwp
Text frame will be resized in both(height and width) dimensions proportionally.
[8]
[9][10][11]
HEIGHT_ONLY1751476583
heig
Text frame will be resized in height dimension only.
[8]
[9][10][11]
OFF1330005536
OFF
Text frame auto-sizing is off.
[8]
[9][10][11]
WIDTH_ONLY2003395700
widt
Text frame will be resized in width dimension only.
Auto-sizing type of text frame. Based on type, reference value is automatically adjusted. For example, for height only type, top-left reference point becomes top-center. Recommended to change auto-sizing type, after setting other auto-sizing attributes
[7][7.5][8]
[9][10][11]
firstBaselineOffset FirstBaseline
FirstBaseline
Ver.10進数/文字列説明
[7][7.5][8]
[9][10][11]
ASCENT_OFFSET1296135023
MAso
アセント
[7][7.5][8]
[9][10][11]
CAP_HEIGHT1296255087
MCHo
キャップハイト
[7][7.5][8]
[9][10][11]
EMBOX_HEIGHT1296386159
MEHo
仮想ボディの高さ
[7][7.5][8]
[9][10][11]
FIXED_HEIGHT1313228911
NFHo
固定
[7][7.5][8]
[9][10][11]
LEADING_OFFSET1296852079
MLdo
行送り
[7][7.5][8]
[9][10][11]
X_HEIGHT1299728495
MxHo
Xハイト
先頭ベースライン位置―オフセット
[7][7.5][8]
[9][10][11]
ignoreWrap ブール型テキストの回り込みを無視
[7][7.5][8]
[9][10][11]
insetSpacing [ top, left, bottom, right ], NothingEnum.NOTHING(1851876449/nada)フレーム内マージン。top, left, bottom, rightは数値型または文字列型 (0 - 8640 pt)
[7][7.5][8]
[9][10][11]
isValid ブール型
[7][7.5][8]
[9][10][11]
minimumFirstBaselineOffset 長さ先頭ベースライン位置―最小 (0 - 8640)
[8]
[9][10][11]
minimumHeightForAutoSizing 長さThe minimum height for auto-sizing of the text frame.
[8]
[9][10][11]
minimumWidthForAutoSizing 長さThe minimum width for auto-sizing of the text frame.
[7][7.5][8]
[9][10][11]
properties Object
[7][7.5][8]
[9][10][11]
textColumnCount 数値型段数 (1 - 40)
[7][7.5][8]
[9][10][11]
textColumnFixedWidth 長さThe column width of the columns in the text frame.
[7][7.5][8]
[9][10][11]
textColumnGutter 長さThe space between columns in the text frame.
[8]
[9][10][11]
textColumnMaxWidth 長さThe maximum column width of the columns in the text frame. Use 0 to indicate no upper limit.
[7][7.5][8]
[9][10][11]
useFixedColumnWidth ブール型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.
[8]
[9][10][11]
useFlexibleColumnWidth ブール型If true, maintains column width between a min and max range 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.
[8]
[9][10][11]
useMinimumHeightForAutoSizing ブール型If true, minimum height value is used during the auto-sizing of text frame.
[8]
[9][10][11]
useMinimumWidthForAutoSizing ブール型If true, minimum width value is used during the auto-sizing of text frame.
[8]
[9][10][11]
useNoLineBreaksForAutoSizing ブール型If true, line-breaks are not introduced after auto sizing.
[7][7.5][8]
[9][10][11]
verticalBalanceColumns ブール型Vertically justify balanced across all columns.
[7][7.5][8]
[9][10][11]
verticalJustification VerticalJustification
VerticalJustification
Ver.10進数/文字列説明
[7][7.5][8]
[9][10][11]
BOTTOM_ALIGN1651471469
botm
[7][7.5][8]
[9][10][11]
CENTER_ALIGN1667591796
cent
中央
[7][7.5][8]
[9][10][11]
JUSTIFY_ALIGN1785951334
jstf
均等配置
[7][7.5][8]
[9][10][11]
TOP_ALIGN1953460256
top
セルの縦方向の揃え
[7][7.5][8]
[9][10][11]
verticalThreshold 長さ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.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8]
[9][10][11]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列型
handler ファイル型, JavaScript関数
[captures] ブール型このパラメータは旧式です
[7][7.5][8]
[9][10][11]
getElements() Array( TextFramePreference )Resolves the object specifier, creating an array of object references.
[7][7.5][8]
[9][10][11]
removeEventListener(eventType, handler, [captures]) ブール型EventListenerを削除
eventType 文字列型
handler ファイル型, JavaScript関数
[captures] ブール型このパラメータは旧式です
[7][7.5][8]
[9][10][11]
toSource() 文字列型ソースコードを表示
[7][7.5][8]
[9][10][11]
toSpecifier() 文字列型Retrieves the object specifier.