Adds an event listener.
Hierarchy
PageItemDefault
5 preference objects
ContentTransparencySetting | FillTransparencySetting | Preference | StrokeTransparencySetting | TransparencySetting
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| ObjectStyle | String | read/write | The default graphic object style applied to the PageItemDefault. Can also accept: String. | |
| ObjectStyle | String | read/write | The default frame grid object style applied to the PageItemDefault. Can also accept: String. | |
| ObjectStyle | String | read/write | The default text object style applied to the PageItemDefault. Can also accept: String. | |
| ArrowHeadAlignmentEnum | read/write | The arrowhead alignment applied to the PageItemDefault. | |
| CornerOptions | read/write | The shape to apply to the bottom left corner of rectangular shapes. | |
| Number | String unit | read/write | The radius in measurement units of the corner effect applied to the bottom left corner of rectangular shapes | |
| CornerOptions | read/write | The shape to apply to the bottom right corner of rectangular shapes. | |
| Number | String unit | read/write | The radius in measurement units of the corner effect applied to the bottom right corner of rectangular shapes | |
| ContentTransparencySetting | readonly | Transparency settings for the content of the PageItemDefault. | |
| EndCap | read/write | The end shape of an open path. | |
| EndJoin | read/write | The corner join applied to the PageItemDefault. | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Swatch | String | read/write | The swatch (color, gradient, tint, or mixed ink) applied to the fill of the PageItemDefault. . Can also accept: String. | |
| Number 0–100 | read/write | The percent of tint to use in the PageItemDefault's fill color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) | |
| FillTransparencySetting | readonly | Transparency settings for the fill applied to the PageItemDefault. | |
| Swatch | read/write | The swatch (color, gradient, tint, or mixed ink) applied to the gap of a dashed, dotted, or striped stroke. For information, see stroke type. | |
| Number 0–100 | read/write | The tint as a percentage of the gap color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) | |
| Number | read/write | The angle of a linear gradient applied to the fill of the PageItemDefault. (Range: -180 to 180) | |
| Number | read/write | The angle of a linear gradient applied to the stroke of the PageItemDefault. (Range: -180 to 180) | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| Number 1–1000 | read/write | The scaling applied to the arrowhead at the start of the path. (Range: 1 to 1000) | |
| ArrowHead | read/write | The arrowhead applied to the start of the path. | |
| Number = 4 1–500 | read/write | The limit of the ratio of stroke width to miter length before a miter (pointed) join becomes a bevel (squared-off) join. | |
| Boolean | read/write | If true, the PageItemDefault does not print. | |
| Boolean | read/write | If true, the PageItemDefault's fill color overprints any underlying objects. If false, the fill color knocks out the underlying colors. | |
| Boolean | read/write | If true, the gap color overprints any underlying colors. If false, the gap color knocks out the underlying colors. | |
| Boolean | read/write | If true, the PageItemDefault's stroke color overprints any underlying objects. If false, the stroke color knocks out the underlying colors. | |
| Application | Document | readonly | The parent of the PageItemDefault (a Application or Document). | |
| Preferences |
readonly | A collection of preferences objects. | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| Number 1–1000 | read/write | The scaling applied to the arrowhead at the end of the path. (Range: 1 to 1000) | |
| ArrowHead | read/write | The arrowhead applied to the end of the path. | |
| StrokeAlignment | read/write | The stroke alignment applied to the PageItemDefault. | |
| Swatch | String | read/write | The swatch (color, gradient, tint, or mixed ink) applied to the stroke of the PageItemDefault. Can also accept: String. | |
| Number 0–100 | read/write | The percent of tint to use in object's stroke color. (To specify a tint percent, use a number in the range of 0 to 100; to use the inherited or overridden value, use -1.) | |
| StrokeTransparencySetting | readonly | Transparency settings for the stroke. | |
| StrokeStyle | String | read/write | The name of the stroke style to apply. Can also accept: String. | |
| Number | String unit | read/write | The weight (in points) to apply to the PageItemDefault's stroke. | |
| CornerOptions | read/write | The shape to be applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes.Note: corner option differs from end join in which you can set a radius for a corner option, whereas the rounded or beveled effect of an end join depends on the stroke weight. | |
| Number | String unit | read/write | The radius in measurement units of the corner effect applied to the top left corner of rectangular shapes and all corners of non-rectangular shapes | |
| CornerOptions | read/write | The shape to apply to the top right corner of rectangular shapes | |
| Number | String unit | read/write | The radius in measurement units of the corner effect applied to the top right corner of rectangular shapes | |
| TransparencySetting | readonly | Transparency settings. |
Methods
→ void
Applies the specified object style.
→ void
Clear overrides for object style
→ PageItemDefault[]
Resolves the object specifier, creating an array of object references.
→ Boolean
Removes the event listener.
→ String
Generates a string which, if executed, will return the PageItemDefault.
→ String
Retrieves the object specifier.
Object of 10
Properties elsewhere that hold a PageItemDefault.
Return 1
Methods that return a PageItemDefault.