Adobe InDesign CS4 (6.0) Object Model JS: StripedStrokeStyles

InDesign CS4

Class

StripedStrokeStyles

 A collection of striped stroke styles.

QuickLinks

[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

StripedStrokeStyle [] (index: number)
Returns the StripedStrokeStyle with the specified index.

ParameterTypeDescription
indexnumberThe index.

StripedStrokeStyle add ([withProperties: Object])
Creates a new StripedStrokeStyle.

ParameterTypeDescription
withPropertiesObjectInitial values for properties of the new StripedStrokeStyle (Optional)

StripedStrokeStyle anyItem ()
Returns any StripedStrokeStyle in the collection.

number count ()
Displays the number of elements in the StripedStrokeStyle.

Array of StripedStrokeStyle everyItem ()
Returns every StripedStrokeStyle in the collection.

StripedStrokeStyle firstItem ()
Returns the first StripedStrokeStyle in the collection.

StripedStrokeStyle item (index: any)
Returns the StripedStrokeStyle with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

StripedStrokeStyle itemByID (id: number)
Returns the StripedStrokeStyle with the specified ID.

ParameterTypeDescription
idnumberThe ID.

StripedStrokeStyle itemByName (name: string)
Returns the StripedStrokeStyle with the specified name.

ParameterTypeDescription
namestringThe name.

Array of StripedStrokeStyle itemByRange (from: any, to: any)
Returns the StripedStrokeStyles within the specified range.

ParameterTypeDescription
fromLong Integer
String
StripedStrokeStyle
The StripedStrokeStyle, index, or name at the beginning of the range. Can accept: StripedStrokeStyle, Long Integer or String.
toLong Integer
String
StripedStrokeStyle
The StripedStrokeStyle, index, or name at the end of the range. Can accept: StripedStrokeStyle, Long Integer or String.

StripedStrokeStyle lastItem ()
Returns the last StripedStrokeStyle in the collection.

StripedStrokeStyle middleItem ()
Returns the middle StripedStrokeStyle in the collection.

StripedStrokeStyle nextItem (obj: StripedStrokeStyle)
Returns the StripedStrokeStyle whose index follows the specified StripedStrokeStyle in the collection.

ParameterTypeDescription
objStripedStrokeStyleThe StripedStrokeStyle whose index comes before the desired StripedStrokeStyle.

StripedStrokeStyle previousItem (obj: StripedStrokeStyle)
Returns the StripedStrokeStyle with the index previous to the specified index.

ParameterTypeDescription
objStripedStrokeStyleThe index of the StripedStrokeStyle that follows the desired StripedStrokeStyle.

string toSource ()
Generates a string which, if executed, will return the StripedStrokeStyle.

Element of

Application.stripedStrokeStyles

Document.stripedStrokeStyles

Jongware, 20-Jun-2010 v3.0.3dContents :: Index