Layer

レイヤー

プロパティ(オブジェクト)

Ver. プロパティ名 説明
Parent Document 親のオブジェクト
Buttons Buttons ボタン
FormFields FormFields フォームフィールド
GraphicLines GraphicLines 直線
Groups Groups グループ
Guides Guides ガイド
Ovals Ovals 楕円
PageItems PageItems ページ上のオブジェクト
Polygons Polygons 多角形
Rectangles Rectangles 四角形
TextFrames TextFrames テキストフレーム

プロパティ

Ver. プロパティ名 R/O 説明
AllGraphics Objects 中にあるGraphicオブジェクト(EPS/Image/PDF/PICT/WMF/ImportedPage)
AllPageItems Objects 中にあるPageItemオブジェクト
Id Long型 オブジェクトのID
IgnoreWrap Boolean型 Whether text wrap on this layer will be ignored if the layer is hidden.
Index Long型 インデックス
Label String型 スクリプトラベル
LayerColor Array(R,G,B), idUIColors R,G,Bは0-255
LockGuides Boolean型 Whether guides on this layer are locked.
Locked Boolean型 ロックされているか
Name String型 既定値。オブジェクトの名前を返す
Printable Boolean型 If true, the layer will print.
ShowGuides Boolean型 Whether guides on this layer are shown.
Visible Boolean型 表示するかどうか

メソッド

Ver. メソッド名/パラメータ 戻り値/パラメータの値 説明
Delete オブジェクトを削除
Duplicate Layer 複製。複製されたオブジェクトを返す
ExtractLabel String型 キーに関連づけられたラベルを取得
Key String型 キー
InsertLabel キーに関連づけられたラベルを設定
Key String型 キー
Value String型 ラベルの値
Merge Layer レイヤーの結合
With Objects 結合するレイヤー
Move Layer 移動
To idLocationOptions
idLocationOptions
Ver.10進数説明
idAfter1634104421
idAtBeginning1650945639 先頭
idAtEnd1701733408 最後
idBefore1650812527
idUnknown1433299822 No location
移動先
[Reference] Layer 位置の基準になるオブジェクト

コレクションのプロパティ Layers

Ver. プロパティ名 R/O 説明
Count Long型 オブジェクト数
Item(Index) Object 既定値、省略可。IndexまたはName(なければLabel)で指定されたオブジェクトを返す

コレクションのメソッド Layers

Ver. メソッド名/パラメータ 戻り値/パラメータの値 説明
Add Layer 新しいオブジェクトを作成し、それを返す
AnyItem Object 各オブジェクトを返す
FirstItem Object 最初のオブジェクトを返す
ItemByID Object IDで指定したオブジェクトを返す
Id Long型 オブジェクトのID
ItemByRange Objects 範囲で指定したオブジェクトを返す
From Object, Long型, String型 範囲の開始
To Object, Long型, String型 範囲の終了
LastItem Object 最後のオブジェクトを返す
MiddleItem Object middle objectを返す
NextItem Object 一つ後のオブジェクトを返す
Obj Object 位置の基準になるオブジェクト
PreviousItem Object 一つ前のオブジェクトを返す
Obj Object 位置の基準になるオブジェクト