Layers

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

プロパティ

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

メソッド

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

Layer

レイヤー

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

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

プロパティ

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

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] duplicate() Layer複製。複製されたオブジェクトを返す
[18][19][20][21] extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[18][19][20][21] getElements() Array( Layer )オブジェクト参照を返す
[18][19][20][21] insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[18][19][20][21] merge(with) Layerレイヤーの結合
with Array( Layer )結合するレイヤー
[18][19][20][21] move(to, [reference]) Layer移動
to LocationOptions
LocationOptions
Ver.プロパティ値/管理用文字説明
[18][19][20][21]AFTER1634104421
afte
[18][19][20][21]AT_BEGINNING1650945639
bgng
先頭
[18][19][20][21]AT_END1701733408
end
最後
[18][19][20][21]BEFORE1650812527
befo
[18][19][20][21]UNKNOWN1433299822
Unkn
No location
移動先
[reference] Layer位置の基準になるオブジェクト
[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.