Asset

ライブラリの各部品

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

Ver. プロパティ名 説明
Parent Library 親のオブジェクト

プロパティ

Ver. プロパティ名 R/O 説明
AssetType idAssetType
idAssetType
Ver.10進数説明
idEPSType1952400720 EPS
idGeometryType1952409445 形状
idImageType1952409965 画像
idInDesignFileType1952409956 InDesign ファイル
idPDFType1952403524 PDF
idPageType1952411745 ページ
idStructureType1952412532 構造
idTextType1952412773 テキスト
アセットの形式
Date Date型 日付
Description String型 アイテム情報の詳細
Id Long型 オブジェクトのID
Index Long型 インデックス
Label String型 スクリプトラベル
Name String型 既定値。オブジェクトの名前を返す

メソッド

Ver. メソッド名/パラメータ 戻り値/パラメータの値 説明
Delete アセットを削除
ExtractLabel String型 キーに関連づけられたラベルを取得
Key String型 キー
InsertLabel キーに関連づけられたラベルを設定
Key String型 キー
Value String型 ラベルの値
PlaceAsset Array( PageItems, Movies, Sounds, Images, EPSs, WMFs, PICTs, PDFs ) アセットを配置。配置したオブジェクトを返す
On Document 配置するドキュメント
PlaceAsset Array( PageItems, Movies, Sounds, Images, EPSs, WMFs, PICTs, PDFs ) アセットを配置。配置したオブジェクトを返す
On Document, Text 配置するドキュメントまたはテキスト (InsertionPoint?)
Select 選択状態にする
[ExistingSelection] idSelectionOptions
idSelectionOptions
Ver.10進数説明
idAddTo1633969202 追加選択する
idRemoveFrom1919249734 選択から削除する
idReplace1701998700 置き換える
idReplaceWith1919250519 置き換える
既に選択されているものがあった場合

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

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

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

Ver. メソッド名/パラメータ 戻り値/パラメータの値 説明
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 位置の基準になるオブジェクト