Layers

Layer(レイヤー)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
length 数値オブジェクト数

メソッド

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

Layer

レイヤー

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

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

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
allGraphics Array( Graphic )中にある画像(グループを無視)
[7][7.5][8][9]
[10][11][12][13]
allPageItems Array( PageItem )中にあるPageItem(グループを無視)
[7][7.5][8][9]
[10][11][12][13]
buttons Buttonsボタンオブジェクト
[8][9]
[10][11][12][13]
checkBoxes CheckBoxesPDFフォーム(チェックボックス)
[8][9]
[10][11][12][13]
comboBoxes ComboBoxesPDFフォーム(コンボボックス)

[13]
endnoteTextFrames EndnoteTextFrames後注テキストフレーム
[7][7.5][8][9]
[10][11][12][13]
epstexts EPSTextsイラストレータからコピーしてきたテキスト
[7][7.5][8][9]
[10][11][12][13]
formFields FormFieldsフォームフィールド
[7][7.5][8][9]
[10][11][12][13]
graphicLines GraphicLines直線オブジェクト
[7][7.5][8][9]
[10][11][12][13]
groups Groupsオブジェクトのグループ
[7][7.5][8][9]
[10][11][12][13]
guides Guidesガイド
[7][7.5][8][9]
[10][11][12][13]
id 数値オブジェクトのID
[7][7.5][8][9]
[10][11][12][13]
ignoreWrap 真偽値テキストの回り込みを無視
[7][7.5][8][9]
[10][11][12][13]
index 数値インデックス
[7][7.5][8][9]
[10][11][12][13]
isValid 真偽値オブジェクトが有効かどうか
[7][7.5][8][9]
[10][11][12][13]
label 文字列値スクリプトラベル
[7][7.5][8][9]
[10][11][12][13]
layerColor [ r, g, b ], UIColorsレイヤーの表示色
[8][9]
[10][11][12][13]
listBoxes ListBoxesPDFフォーム(リストボックス)
[7][7.5][8][9]
[10][11][12][13]
locked 真偽値ロックされているか
[7][7.5][8][9]
[10][11][12][13]
lockGuides 真偽値ガイドのロック
[7][7.5][8][9]
[10][11][12][13]
multiStateObjects MultiStateObjectsマルチステートオブジェクト
[7][7.5][8][9]
[10][11][12][13]
name 文字列値オブジェクトの名前
[7][7.5][8][9]
[10][11][12][13]
ovals Ovals楕円
[7][7.5][8][9]
[10][11][12][13]
pageItems PageItemsスプレッド上のオブジェクト
[7][7.5][8][9]
[10][11][12][13]
polygons Polygons多角形
[7][7.5][8][9]
[10][11][12][13]
printable 真偽値印刷可能
[7][7.5][8][9]
[10][11][12][13]
properties Object
[8][9]
[10][11][12][13]
radioButtons RadioButtonsPDFフォーム(ラジオボタン)
[7][7.5][8][9]
[10][11][12][13]
rectangles Rectangles長方形
[7][7.5][8][9]
[10][11][12][13]
showGuides 真偽値ガイドの表示
[8][9]
[10][11][12][13]
signatureFields SignatureFieldsPDFフォーム(署名フィールド)
[7][7.5][8][9]
[10][11][12][13]
splineItems SplineItems図形
[8][9]
[10][11][12][13]
textBoxes TextBoxesPDFフォーム(テキストフィールド)
[7][7.5][8][9]
[10][11][12][13]
textFrames TextFramesテキストフレーム
[7][7.5][8][9]
[10][11][12][13]
visible 真偽値表示するかどうか

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8][9]
[10][11][12][13]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
duplicate() Layer複製。複製されたオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[7][7.5][8][9]
[10][11][12][13]
getElements() Array( Layer )オブジェクト参照を返す
[7][7.5][8][9]
[10][11][12][13]
insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[7][7.5][8][9]
[10][11][12][13]
merge(with) Layerレイヤーの結合
with Array( Layer )結合するレイヤー
[7][7.5][8][9]
[10][11][12][13]
move(to, [reference]) Layer移動
to LocationOptions
LocationOptions
Ver.10進数/文字列説明
[7][7.5][8][9]
[10][11][12][13]
AFTER1634104421
afte
[7][7.5][8][9]
[10][11][12][13]
AT_BEGINNING1650945639
bgng
先頭
[7][7.5][8][9]
[10][11][12][13]
AT_END1701733408
end
最後
[7][7.5][8][9]
[10][11][12][13]
BEFORE1650812527
befo
[7][7.5][8][9]
[10][11][12][13]
UNKNOWN1433299822
Unkn
No location
移動先
[reference] Layer位置の基準になるオブジェクト
[7][7.5][8][9]
[10][11][12][13]
remove() なし削除
[7][7.5][8][9]
[10][11][12][13]
removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
toSource() 文字列値ソースコードを表す文字列を返す
[7][7.5][8][9]
[10][11][12][13]
toSpecifier() 文字列値Retrieves the object specifier.