Snippets

Snippet(スニペット)のコレクション

プロパティ

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

メソッド

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

Snippet

スニペット

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

Ver.プロパティR/O
[18][19][20][21] parent PlaceGun
[18][19][20][21] buttons Buttons
[18][19][20][21] checkBoxes CheckBoxes
[18][19][20][21] comboBoxes ComboBoxes
[18][19][20][21] epss EPSs
[18][19][20][21] epstexts EPSTexts
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events
[18][19][20][21] formFields FormFields
[18][19][20][21] graphicLines GraphicLines
[18][19][20][21] graphics Graphics
[18][19][20][21] groups Groups
[18][19][20][21] images Images
[18][19][20][21] listBoxes ListBoxes
[18][19][20][21] multiStateObjects MultiStateObjects
[18][19][20][21] ovals Ovals
[18][19][20][21] pageItems PageItems
[18][19][20][21] pdfs PDFs
[18][19][20][21] picts PICTs
[18][19][20][21] polygons Polygons
[18][19][20][21] radioButtons RadioButtons
[18][19][20][21] rectangles Rectangles
[18][19][20][21] signatureFields SignatureFields
[18][19][20][21] splineItems SplineItems
[18][19][20][21] svgs SVGs
[18][19][20][21] textBoxes TextBoxes
[18][19][20][21] textFrames TextFrames
[18][19][20][21] wmfs WMFs

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] id 数値オブジェクトのID
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] label 文字列値スクリプトラベル
[18][19][20][21] name 文字列値オブジェクトの名前 - label のエイリアス
[18][19][20][21] properties Object

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[18][19][20][21] getElements() Array( Snippet )オブジェクト参照を返す
[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.

クラス

プロパティ名値(文字列)説明
BEFORE_PLACEbeforePlaceDispatched before a Snippet is placed. This event bubbles. This event is cancelable.