Indesign Scripting Reference
home | search | Links
VBScript >> Colors

Colors

A collection of colors.

Colors Properties

Property Type Access Description
Count Long read The number of Colors.
Item Object read Returns the Color with the specified index or name as Long or String.

Colors Methods

Method Returns Description
Add Color Create a new Color.
AnyItem Object Returns any Color.
FirstItem Object Returns the first Color.
ItemByID Object Returns the Color with the specified ID.
ItemByRange Objects Returns the Colors within the specified range.
LastItem Object Returns the last Color.
MiddleItem Object Returns the middle Color.
NextItem Object Returns the next Color.
PreviousItem Object Returns the previous Color.