A collection of assets.
Go to Property Listing | Method Listing
| Property | Type | Access | Description | 
|---|---|---|---|
| Int | readonly | Number of elements in the collection. | |
| readonly | The object's container. | ||
| readonly | The class name of the object. | 
Asset add (sourceArt:Varies)
Creates an asset from the given art(s)
| Parameter | Type | Description | 
|---|---|---|
| sourceArt | Varies | The page item(s) to apply to. | 
Asset addFromSelection ()
Creates an asset from the selected arts.
Asset getByID (assetID:Int32)
Gets the asset with the specified AssetID.
| Parameter | Type | Description | 
|---|---|---|
| assetID | Int32 | The UID of the asset. | 
Asset getByName (name:String)
Get the first element in the collection with the provided name.
| Parameter | Type | Description | 
|---|---|---|
| name | 
Asset getByName (assetName:String)
Gets the first asset with specified name.
| Parameter | Type | Description | 
|---|---|---|
| assetName | Name of the asset. | 
undefined remove (assetID:Int32)
Deletes the asset with specified id.
| Parameter | Type | Description | 
|---|---|---|
| assetID | Int32 | UID of the asset to be deleted. | 
undefined removeAll ()
Deletes all elements.
Document.assets