Adobe InDesign CS6 Server (8.0) Object Model JS: DottedStrokeStyles

InDesign Server CS6

Class

DottedStrokeStyles

 A collection of dotted stroke styles.

See also DottedStrokeStyle.

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

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

ParameterTypeDescription
indexnumberThe index.

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

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

DottedStrokeStyle anyItem ()
Returns any DottedStrokeStyle in the collection.

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

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

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

DottedStrokeStyle item (index: varies)
Returns the DottedStrokeStyle with the specified index or name.

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

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

ParameterTypeDescription
idnumberThe ID.

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

ParameterTypeDescription
namestringThe name.

Array of DottedStrokeStyle itemByRange (from: varies, to: varies)
Returns the DottedStrokeStyles within the specified range.

ParameterTypeDescription
fromDottedStrokeStyle
Long Integer
String
The DottedStrokeStyle, index, or name at the beginning of the range. Can accept: DottedStrokeStyle, Long Integer or String.
toDottedStrokeStyle
Long Integer
String
The DottedStrokeStyle, index, or name at the end of the range. Can accept: DottedStrokeStyle, Long Integer or String.

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

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

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

ParameterTypeDescription
objDottedStrokeStyleThe DottedStrokeStyle whose index comes before the desired DottedStrokeStyle.

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

ParameterTypeDescription
objDottedStrokeStyleThe index of the DottedStrokeStyle that follows the desired DottedStrokeStyle.

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

Element of

Application.dottedStrokeStyles

Document.dottedStrokeStyles

Jongware, 28-Apr-2012 v3.0.3iContents :: Index