A collection of mixed ink groups.
Methods
MixedInkGroupadd (inkList:
Array of Ink[, inkPercentages:
Array of number][, repeatValues:
Array of number][, incrementValues:
Array of number][, withProperties:
Object])
Creates a new mixed ink group.
| Parameter | Type | Description |
|---|---|---|
| inkList | Array of Ink | The inks to include in the mix. |
| inkPercentages | Array of number | The percent of each ink in the ink list. (Range: 0 to 100 for each ink) (Optional) |
| repeatValues | Array of number | The number of repetitions for each ink in the ink list. (Range: 0 to 100 for each ink) (Optional) |
| incrementValues | Array of number | The increment percent per repetition for each ink. (Range: 0 to 100) Note: The cumulative ink percentage per ink cannot exceed 100.) (Optional) |
| withProperties | Object | Initial values for properties of the new MixedInkGroup (Optional) |
MixedInkGroupanyItem ()
Returns any MixedInkGroup in the collection.
number count ()
Displays the number of elements in the MixedInkGroup.
Array of MixedInkGroupeveryItem ()
Returns every MixedInkGroup in the collection.
MixedInkGroupfirstItem ()
Returns the first MixedInkGroup in the collection.
MixedInkGroupitem (index:
any)
Returns the MixedInkGroup with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
MixedInkGroupitemByID (id:
number)
Returns the MixedInkGroup with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
MixedInkGroupitemByName (name:
string)
Returns the MixedInkGroup with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of MixedInkGroupitemByRange (from:
any, to:
any)
Returns the MixedInkGroups within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | MixedInkGroup Long Integer String |
The MixedInkGroup, index, or name at the beginning of the range. Can accept: MixedInkGroup, Long Integer or String. |
| to | MixedInkGroup Long Integer String |
The MixedInkGroup, index, or name at the end of the range. Can accept: MixedInkGroup, Long Integer or String. |
MixedInkGrouplastItem ()
Returns the last MixedInkGroup in the collection.
MixedInkGroupmiddleItem ()
Returns the middle MixedInkGroup in the collection.
MixedInkGroupnextItem (obj:
MixedInkGroup)
Returns the MixedInkGroup whose index follows the specified MixedInkGroup in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | MixedInkGroup | The MixedInkGroup whose index comes before the desired MixedInkGroup. |
MixedInkGrouppreviousItem (obj:
MixedInkGroup)
Returns the MixedInkGroup with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | MixedInkGroup | The index of the MixedInkGroup that follows the desired MixedInkGroup. |
string toSource ()
Generates a string which, if executed, will return the MixedInkGroup.
Element of:
Application.mixedInkGroups
Document.mixedInkGroups