Adobe InDesign CS2 (4.0) Object Model JS: DashedStrokeStyles

InDesign CS2

Class

DashedStrokeStyles

 A collection of dashed 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

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

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

DashedStrokeStyle anyItem ()
Returns any DashedStrokeStyle in the collection.

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

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

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

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

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

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

ParameterTypeDescription
fromDashedStrokeStyle
Long
String
The DashedStrokeStyle, index, or name at the beginning of the range. Can accept: DashedStrokeStyle, Long or String.
toDashedStrokeStyle
Long
String
The DashedStrokeStyle, index, or name at the end of the range. Can accept: DashedStrokeStyle, Long or String.

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

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

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

ParameterTypeDescription
objDashedStrokeStyleThe DashedStrokeStyle whose index comes before the desired DashedStrokeStyle.

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

ParameterTypeDescription
objDashedStrokeStyleThe index of the DashedStrokeStyle that follows the desired DashedStrokeStyle.

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

Element of

Application.dashedStrokeStyles

Document.dashedStrokeStyles

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