Class
ParagraphStyle |
| | A named style that remembers paragraph attributes. |
QuickLinks |
add, applyTo, remove, removeAll |
Hierarchy
|
|
Properties
| | Property | Type | Access | Description |
| characterAttributes | CharacterAttributes |
readonly | The character properties for the text range. |
| name | string |
r/w | The paragraph style's name. |
| paragraphAttributes | ParagraphAttributes |
readonly | The paragraph properties for the text range. |
| parent | Object |
readonly | The object's container. |
| typename | string |
readonly | The class name of the object. |
|
Methods
| InstancesParagraphStyle add ()
Adds an element.
void applyTo (textItem:
any[, clearingOverrides:
bool=false])
Apply the paragraph style to text object(s)
| Parameter | Type | Description |
| textItem |
any
| The text object(s) to apply the style to. |
| clearingOverrides | bool | Whether to clear any text attributes before apply the style. (default: false) (Optional) |
void remove ()
Deletes this object.
void removeAll ()
Deletes all elements.
|
Return |
ParagraphStyle ParagraphStyle.add ()
ParagraphStyle ParagraphStyles.add (name:
string)
ParagraphStyle ParagraphStyles.getByName (name:
string)
|