MediaItems
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
MediaItem [] (index:
number)
Returns the MediaItem with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
MediaItem anyItem ()
Returns any MediaItem in the collection.
number count ()
Displays the number of elements in the MediaItem.
Array
of MediaItem everyItem ()
Returns every MediaItem in the collection.
MediaItem firstItem ()
Returns the first MediaItem in the collection.
MediaItem item (index:
varies)
Returns the MediaItem with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
MediaItem itemByID (id:
number)
Returns the MediaItem with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
MediaItem itemByName (name:
string)
Returns the MediaItem with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array
of MediaItem itemByRange (from:
varies, to:
varies)
Returns the MediaItems within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer MediaItem String | The MediaItem, index, or name at the beginning of the range. Can accept: MediaItem, Long Integer or String. |
to | Long Integer MediaItem String | The MediaItem, index, or name at the end of the range. Can accept: MediaItem, Long Integer or String. |
MediaItem lastItem ()
Returns the last MediaItem in the collection.
MediaItem middleItem ()
Returns the middle MediaItem in the collection.
MediaItem nextItem (obj:
MediaItem)
Returns the MediaItem whose index follows the specified MediaItem in the collection.
Parameter | Type | Description |
---|---|---|
obj | MediaItem | The MediaItem whose index comes before the desired MediaItem. |
MediaItem previousItem (obj:
MediaItem)
Returns the MediaItem with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | MediaItem | The index of the MediaItem that follows the desired MediaItem. |
string toSource ()
Generates a string which, if executed, will return the MediaItem.
Element of
GraphicLine.mediaItems
Oval.mediaItems
Polygon.mediaItems
Rectangle.mediaItems
SplineItem.mediaItems
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |