ObjectStyles
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
ObjectStyle add ([withProperties:
Object])
Creates a new ObjectStyle.
Parameter | Type | Description |
---|---|---|
withProperties | Object | Initial values for properties of the new ObjectStyle (Optional) |
ObjectStyle anyItem ()
Returns any ObjectStyle in the collection.
number count ()
Displays the number of elements in the ObjectStyle.
Array
of ObjectStyle everyItem ()
Returns every ObjectStyle in the collection.
ObjectStyle firstItem ()
Returns the first ObjectStyle in the collection.
ObjectStyle item (index:
any)
Returns the ObjectStyle with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
ObjectStyle itemByID (id:
number)
Returns the ObjectStyle with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
ObjectStyle itemByName (name:
string)
Returns the ObjectStyle with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array
of ObjectStyle itemByRange (from:
any, to:
any)
Returns the ObjectStyles within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer ObjectStyle String | The ObjectStyle, index, or name at the beginning of the range. Can accept: ObjectStyle, Long Integer or String. |
to | Long Integer ObjectStyle String | The ObjectStyle, index, or name at the end of the range. Can accept: ObjectStyle, Long Integer or String. |
ObjectStyle lastItem ()
Returns the last ObjectStyle in the collection.
ObjectStyle middleItem ()
Returns the middle ObjectStyle in the collection.
ObjectStyle nextItem (obj:
ObjectStyle)
Returns the ObjectStyle whose index follows the specified ObjectStyle in the collection.
Parameter | Type | Description |
---|---|---|
obj | ObjectStyle | The ObjectStyle whose index comes before the desired ObjectStyle. |
ObjectStyle previousItem (obj:
ObjectStyle)
Returns the ObjectStyle with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | ObjectStyle | The index of the ObjectStyle that follows the desired ObjectStyle. |
string toSource ()
Generates a string which, if executed, will return the ObjectStyle.
Element of
Application.objectStyles
Document.objectStyles
ObjectStyleGroup.objectStyles
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |