Default page item formatting properties.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| appliedGraphicObjectStyle | ObjectStyle | r/w | The default graphic object style applied to the PageItemDefault. Can also accept: String. |
| appliedGridObjectStyle | ObjectStyle | r/w | The default frame grid object style applied to the PageItemDefault. Can also accept: String. |
| appliedTextObjectStyle | ObjectStyle | r/w | The default text object style applied to the PageItemDefault. Can also accept: String. |
| contentTransparencySettings | ContentTransparencySetting | readonly | Transparency settings for the content of the PageItemDefault. |
| cornerOption | CornerOptions : NONE ROUNDED_CORNER INVERSE_ROUNDED_CORNER INSET_CORNER BEVEL_CORNER FANCY_CORNER |
r/w | The shape to apply to corner points in a path. Note: corner option differs from end join in that you can set a radius for a corner option, whereas the rounded or beveled effect of an end join depends upon the stroke weight. |
| cornerRadius | number | r/w | The radius in measurement units of the corner effect. |
| endCap | EndCap : BUTT_END_CAP ROUND_END_CAP PROJECTING_END_CAP |
r/w | The end shape of an open path. |
| endJoin | EndJoin : MITER_END_JOIN ROUND_END_JOIN BEVEL_END_JOIN |
r/w | The corner join applied to the PageItemDefault. |
| fillColor | Swatch | r/w | The swatch (color, gradient, tint, or mixed ink) applied to the to fill the PageItemDefault. . Can also accept: String. |
| fillTint | number | r/w | 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.) |
| fillTransparencySettings | FillTransparencySetting | readonly | Transparency settings for the fill applied to the PageItemDefault. |
| gapColor | Swatch | r/w | The swatch (color, gradient, tint, or mixed ink) applied to the gap of a dashed, dotted, or striped stroke. For information, see stroke type. |
| gapTint | number | r/w | 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.) |
| gradientFillAngle | number | r/w | The angle of a linear gradient applied to the fill of the PageItemDefault. (Range: -180 to 180) |
| gradientStrokeAngle | number | r/w | The angle of a linear gradient applied to the stroke of the PageItemDefault. (Range: -180 to 180) |
| leftLineEnd | ArrowHead : NONE SIMPLE_ARROW_HEAD SIMPLE_WIDE_ARROW_HEAD TRIANGLE_ARROW_HEAD TRIANGLE_WIDE_ARROW_HEAD BARBED_ARROW_HEAD CURVED_ARROW_HEAD CIRCLE_ARROW_HEAD CIRCLE_SOLID_ARROW_HEAD SQUARE_ARROW_HEAD SQUARE_SOLID_ARROW_HEAD BAR_ARROW_HEAD |
r/w | The arrowhead applied to the start of the path. |
| miterLimit | number | r/w | The limit of the ratio of stroke width to miter length before a miter (pointed) join becomes a bevel (squared-off) join. (Range: 1 to 500) |
| nonprinting | bool | r/w | If true, the PageItemDefault does not print. |
| overprintFill | bool | r/w | If true, the PageItemDefault’s fill color overprints any underlying objects. If false, the fill color knocks out the underlying colors. |
| overprintGap | bool | r/w | If true, the gap color overprints any underlying colors. If false, the gap color knocks out the underlying colors. |
| overprintStroke | bool | r/w | If true, the PageItemDefault’s stroke color overprints any underlying objects. If false, the stroke color knocks out the underlying colors. |
| parent | any | readonly | The parent of the PageItemDefault (a Application or Document). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
| rightLineEnd | ArrowHead : NONE SIMPLE_ARROW_HEAD SIMPLE_WIDE_ARROW_HEAD TRIANGLE_ARROW_HEAD TRIANGLE_WIDE_ARROW_HEAD BARBED_ARROW_HEAD CURVED_ARROW_HEAD CIRCLE_ARROW_HEAD CIRCLE_SOLID_ARROW_HEAD SQUARE_ARROW_HEAD SQUARE_SOLID_ARROW_HEAD BAR_ARROW_HEAD |
r/w | The arrowhead applied to the end of the path. |
| strokeAlignment | StrokeAlignment : CENTER_ALIGNMENT INSIDE_ALIGNMENT OUTSIDE_ALIGNMENT |
r/w | The stroke alignment applied to the PageItemDefault. |
| strokeColor | Swatch | r/w | The swatch (color, gradient, tint, or mixed ink) applied to the to stroke of the PageItemDefault. Can also accept: String. |
| strokeTint | number | r/w | 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.) |
| strokeTransparencySettings | StrokeTransparencySetting | readonly | Transparency settings for the stroke. |
| strokeType | StrokeStyle | r/w | The name of the stroke style to apply. Can also accept: String. |
| strokeWeight | number | r/w | The weight (in points) to apply to the PageItemDefault’s stroke. |
| transparencySettings | TransparencySetting | readonly | Transparency settings. |
Methods
void applyObjectStyle (using:
ObjectStyle[, clearingOverrides:
bool=true ][, clearingOverridesThroughRootObjectStyle:
bool=false ])
Applies the specified object style.
| Parameter | Type | Description |
|---|---|---|
| using | ObjectStyle | The object style to apply. |
| clearingOverrides | bool | If true, clears the PageItemDefault’s existing attributes before applying the style. (Optional) (default: true ) |
| clearingOverridesThroughRootObjectStyle | bool | If true, clears attributes and formatting applied to the PageItemDefault that are not defined in the object style. (Optional) (default: false ) |
void clearObjectStyleOverrides ()
Clear overrides for object style
Array of PageItemDefaultgetElements ()
Resolves the object specifier, creating an array of object references.
string toSource ()
Generates a string which, if executed, will return the PageItemDefault.
string toSpecifier ()
Retrieves the object specifier.
Element of:
Application.pageItemDefaults
Document.pageItemDefaults
Returned by:
Array of PageItemDefault PageItemDefault .getElements (
)