Instance Properties
| Name | Description | Access |
|---|---|---|
| length | number The number of objects in the collection. | read-only |
Methods
| add( | [withProperties]) |
→ ParagraphStyle |
| anyItem( | ) |
→ ParagraphStyle |
| count( | ) |
→ number |
| everyItem( | ) |
→ ParagraphStyle |
| firstItem( | ) |
→ ParagraphStyle |
| item( | index) |
→ ParagraphStyle |
| itemByID( | id) |
→ ParagraphStyle |
| itemByName( | name) |
→ ParagraphStyle |
| itemByRange( | from, to) |
→ ParagraphStyle |
| lastItem( | ) |
→ ParagraphStyle |
| middleItem( | ) |
→ ParagraphStyle |
| nextItem( | obj) |
→ ParagraphStyle |
| previousItem( | obj) |
→ ParagraphStyle |
| toSource( | ) |
→ string |
-
add( [withProperties])→ ParagraphStyle -
Creates a new ParagraphStyle.
withPropertiesObject Initial values for properties of the new ParagraphStyle (Optional) -
anyItem( )→ ParagraphStyle -
Returns any ParagraphStyle in the collection.
-
count( )→ number -
Displays the number of elements in the ParagraphStyle.
-
everyItem( )→ ParagraphStyle -
Returns every ParagraphStyle in the collection.
-
firstItem( )→ ParagraphStyle -
Returns the first ParagraphStyle in the collection.
-
item( index)→ ParagraphStyle -
Returns the ParagraphStyle with the specified index or name.
indexThe index or name. Can accept: Long Integer or String. -
itemByID( id)→ ParagraphStyle -
Returns the ParagraphStyle with the specified ID.
idnumber The ID. -
itemByName( name)→ ParagraphStyle -
Returns the ParagraphStyle with the specified name.
namestring The name. -
itemByRange( from, to)→ ParagraphStyle -
Returns the ParagraphStyles within the specified range.
fromThe ParagraphStyle, index, or name at the beginning of the range. Can accept: ParagraphStyle, Long Integer or String. toThe ParagraphStyle, index, or name at the end of the range. Can accept: ParagraphStyle, Long Integer or String. -
lastItem( )→ ParagraphStyle -
Returns the last ParagraphStyle in the collection.
-
middleItem( )→ ParagraphStyle -
Returns the middle ParagraphStyle in the collection.
-
nextItem( obj)→ ParagraphStyle -
Returns the ParagraphStyle whose index follows the specified ParagraphStyle in the collection.
objParagraphStyle The ParagraphStyle whose index comes before the desired ParagraphStyle. -
previousItem( obj)→ ParagraphStyle -
Returns the ParagraphStyle with the index previous to the specified index.
objParagraphStyle The index of the ParagraphStyle that follows the desired ParagraphStyle. -
toSource( )→ string -
Generates a string which, if executed, will return the ParagraphStyle.