DocumentPresets

DocumentPreset(ドキュメントサイズの各設定値)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] add([withProperties]) DocumentPreset新しいオブジェクトを作成し、それを返す
[withProperties] Objectプロパティを設定
[18][19][20][21] anyItem() DocumentPresetどれかのオブジェクトを返す
[18][19][20][21] count() 数値要素数を返す
[18][19][20][21] everyItem() DocumentPreset (Array)全てのオブジェクトを返す
[18][19][20][21] firstItem() DocumentPreset最初のオブジェクトを返す
[18][19][20][21] item(index) DocumentPresetインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[18][19][20][21] itemByID(id) DocumentPresetIDで指定したオブジェクトを返す
id 数値
[18][19][20][21] itemByName(name) DocumentPreset名前で指定したオブジェクトを返す
name 文字列値
[18][19][20][21] itemByRange(from, to) DocumentPreset (Array)範囲で指定したオブジェクトを返す
from DocumentPreset, 数値, 文字列値範囲の開始
to DocumentPreset, 数値, 文字列値範囲の終了
[18][19][20][21] lastItem() DocumentPreset最後のオブジェクトを返す
[18][19][20][21] middleItem() DocumentPreset真ん中のオブジェクトを返す
[18][19][20][21] nextItem(obj) DocumentPreset一つ後のオブジェクトを返す
obj DocumentPreset位置の基準になるオブジェクト
[18][19][20][21] previousItem(obj) DocumentPreset一つ前のオブジェクトを返す
obj DocumentPreset位置の基準になるオブジェクト
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す

DocumentPreset

ドキュメントサイズの各設定値

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

Ver.プロパティR/O
[18][19][20][21] parent Application
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] bottom 長さ値下マージン
[18][19][20][21] columnCount 数値段組の段数(1 - 216)
[18][19][20][21] columnGutter 長さ値段組みの間隔 (0 - 1440 pt)
[18][19][20][21] createPrimaryTextFrame 真偽値プライマリテキストフレーム
[18][19][20][21] documentBleedBottomOffset 長さ値裁ち落とし(下)
[18][19][20][21] documentBleedInsideOrLeftOffset 長さ値裁ち落とし(左)
[18][19][20][21] documentBleedOutsideOrRightOffset 長さ値裁ち落とし(右)
[18][19][20][21] documentBleedTopOffset 長さ値裁ち落とし(上)
[18][19][20][21] documentBleedUniformSize 真偽値裁ち落としを同一値にするか
[18][19][20][21] documentSlugUniformSize 真偽値印刷可能領域を同一値にするか
[18][19][20][21] facingPages 真偽値trueなら見開き、falseなら単ページ
[18][19][20][21] id 数値オブジェクトのID
[18][19][20][21] index 数値インデックス
[18][19][20][21] intent DocumentIntentOptions
DocumentIntentOptions
Ver.プロパティ値/管理用文字説明
[18][19][20][21]MOBILE_INTENT1768846445
intm
Intended purpose of document is for publishing to mobiles.
[18][19][20][21]PRINT_INTENT1768846448
intp
Intended purpose of document is for print output.
[18][19][20][21]WEB_INTENT1768846455
intw
Intended purpose of document is for web output.
ドキュメントプロファイル
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] label 文字列値スクリプトラベル
[18][19][20][21] left 長さ値左/ノドマージン
[18][19][20][21] name 文字列値オブジェクトの名前
[18][19][20][21] pageHeight 長さ値ページの高さ
[18][19][20][21] pageOrientation PageOrientation
PageOrientation
Ver.プロパティ値/管理用文字説明
[18][19][20][21]LANDSCAPE2003395685
wide
横長
[18][19][20][21]PORTRAIT1751738216
high
縦長
ページの向き
[18][19][20][21] pageSize 文字列値ページサイズ(文字列)
[18][19][20][21] pagesPerDocument 数値ページ数 ( 1 - 9999 )
[18][19][20][21] pageWidth 長さ値ページの幅
[18][19][20][21] properties Object
[18][19][20][21] right 長さ値右/小口マージン
[18][19][20][21] slugBottomOffset 長さ値印刷可能領域(下)
[18][19][20][21] slugInsideOrLeftOffset 長さ値印刷可能領域(左)
[18][19][20][21] slugRightOrOutsideOffset 長さ値印刷可能領域(右)
[18][19][20][21] slugTopOffset 長さ値印刷可能領域(上)
[18][19][20][21] startPageNumber 数値ページの開始番号 (1 - 999999 既定値=1)
[18][19][20][21] top 長さ値上マージン

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] duplicate() DocumentPreset複製。複製されたオブジェクトを返す
[18][19][20][21] extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[18][19][20][21] getElements() Array( DocumentPreset )オブジェクト参照を返す
[18][19][20][21] insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[18][19][20][21] remove() なし削除
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.