DocumentPreset(ドキュメントサイズの各設定値)のコレクション
Ver. | プロパティ名 | R/O | 値 | 説明 |
---|---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
length | ○ | 数値 | オブジェクト数 |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
add([withProperties]) | DocumentPreset | 新しいオブジェクトを作成し、それを返す | ||
[withProperties] | Object | プロパティを設定 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
anyItem() | DocumentPreset | どれかのオブジェクトを返す | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
count() | 数値 | 要素数を返す | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
everyItem() | Array( DocumentPreset ) | 全てのオブジェクトを返す | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
firstItem() | DocumentPreset | 最初のオブジェクトを返す | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
item(index) | DocumentPreset | インデックスまたは名前で指定したオブジェクトを返す | ||
index | 数値, 文字列値 | インデックスまたは名前 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
itemByID(id) | DocumentPreset | IDで指定したオブジェクトを返す | ||
id | 数値 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
itemByName(name) | DocumentPreset | 名前で指定したオブジェクトを返す | ||
name | 文字列値 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
itemByRange(from, to) | Array( DocumentPreset ) | 範囲で指定したオブジェクトを返す | ||
from | DocumentPreset, 数値, 文字列値 | 範囲の開始 | |||
to | DocumentPreset, 数値, 文字列値 | 範囲の終了 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
lastItem() | DocumentPreset | 最後のオブジェクトを返す | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
middleItem() | DocumentPreset | 真ん中のオブジェクトを返す | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
nextItem(obj) | DocumentPreset | 一つ後のオブジェクトを返す | ||
obj | DocumentPreset | 位置の基準になるオブジェクト | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
previousItem(obj) | DocumentPreset | 一つ前のオブジェクトを返す | ||
obj | DocumentPreset | 位置の基準になるオブジェクト | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
toSource() | 文字列値 | ソースコードを表す文字列を返す |
ドキュメントサイズの各設定値
Ver. | プロパティ | R/O | 値 |
---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
parent | ○ | Application |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
eventListeners | ○ | EventListeners |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
events | ○ | Events |
Ver. | プロパティ名 | R/O | 値 | 説明 | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
bottom | 長さ値 | 下マージン | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
columnCount | 数値 | 段組の段数(1 - 216) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
columnGutter | 長さ値 | 段組みの間隔 (0 - 1440 pt) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
createPrimaryTextFrame | 真偽値 | プライマリテキストフレーム | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
documentBleedBottomOffset | 長さ値 | 裁ち落とし(下) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
documentBleedInsideOrLeftOffset | 長さ値 | 裁ち落とし(左) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
documentBleedOutsideOrRightOffset | 長さ値 | 裁ち落とし(右) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
documentBleedTopOffset | 長さ値 | 裁ち落とし(上) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
documentBleedUniformSize | 真偽値 | 裁ち落としを同一値にするか | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
documentSlugUniformSize | 真偽値 | 印刷可能領域を同一値にするか | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
facingPages | 真偽値 | trueなら見開き、falseなら単ページ | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
id | ○ | 数値 | オブジェクトのID | ||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
index | ○ | 数値 | インデックス | ||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
intent |
DocumentIntentOptions
| ドキュメントプロファイル | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
isValid | ○ | 真偽値 | オブジェクトが有効かどうか | ||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
label | 文字列値 | スクリプトラベル | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
left | 長さ値 | 左/ノドマージン | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
name | 文字列値 | オブジェクトの名前 | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
pageHeight | 長さ値 | ページの高さ | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
pageOrientation |
PageOrientation
| ページの向き | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
pageSize | 文字列値 | ページサイズ(文字列) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
pagesPerDocument | 数値 | ページ数 ( 1 - 9999 ) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
pageWidth | 長さ値 | ページの幅 | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
properties | Object | ||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
right | 長さ値 | 右/小口マージン | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
slugBottomOffset | 長さ値 | 印刷可能領域(下) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
slugInsideOrLeftOffset | 長さ値 | 印刷可能領域(左) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
slugRightOrOutsideOffset | 長さ値 | 印刷可能領域(右) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
slugTopOffset | 長さ値 | 印刷可能領域(上) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
startPageNumber | 数値 | ページの開始番号 (1 - 999999 既定値=1) | |||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
top | 長さ値 | 上マージン |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 | ||
---|---|---|---|---|---|
パラメータ | 値 | パラメータの説明 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 | ||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | (廃止) | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
duplicate() | DocumentPreset | 複製。複製されたオブジェクトを返す | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
extractLabel(key) | 文字列値 | キーに関連づけられた値を取得 | ||
key | 文字列値 | キー | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
getElements() | Array( DocumentPreset ) | オブジェクト参照を返す | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
insertLabel(key, value) | なし | キーに関連づけられた値を設定 | ||
key | 文字列値 | キー | |||
value | 文字列値 | 値 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
remove() | なし | 削除 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
removeEventListener(eventType, handler, [captures]) | 真偽値 | EventListenerを削除 | ||
eventType | 文字列値 | ||||
handler | ファイル, JavaScript関数 | ||||
[captures] | 真偽値 | (廃止) | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
toSource() | 文字列値 | ソースコードを表す文字列を返す | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
toSpecifier() | 文字列値 | Retrieves the object specifier. |