InDesign Server2025
API 20.5.0.49
Object

BevelAndEmbossSetting

Bevel and emboss effect settings.

Preference BevelAndEmbossSetting

Properties

NameType AccessDescription
Number 0–100 read/write The altitude of the light source. (Range: 0 to 90)
Number -180–180 read/write The angle of the light source. (Range: -180 to 180)
Boolean read/write If true, the bevel or emboss effect is applied.
Number 0–1000 read/write The depth of the bevel or emboss (as a percentage). (Range: 0 to 1000)
BevelAndEmbossDirection
read/write The direction of the bevel or emboss.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
BlendMode
+4 more
read/write The blending mode for the highlight portion of the effect.
Swatch read/write The color applied to the highlight portion of the effect, specified as a swatch (color, gradient, tint, or mixed ink), a color library color, a hex value, or as an array of color values. The color mode dictates the array values: for RGB, specify three values, each in the range 0 to 255, in the format [R,G,B]; for CMYK, specify four values, each as a percentage and each in the range 0 to 100, in the format [C,M,Y,K]; for LAB, specify three values in the format [L,A,B], with L in the range 0 to 100 and A and B in the range -128 to 127; for HSB, specify three colors in the format [H,S,B], with H in the range 0 to 360 and S and B as percentages in the range 0 to 100.
Number 0–100 read/write The opacity of the highlight portion of the effect (as a percentage). (Range: 0 to 100)
Boolean readonly Returns true if the object specifier resolves to valid objects.
FillTransparencySetting | StrokeTransparencySetting | ContentTransparencySetting | TransparencySetting readonly The parent of the BevelAndEmbossSetting (a TransparencySetting, StrokeTransparencySetting, FillTransparencySetting or ContentTransparencySetting).
Object read/write A property that allows setting of several properties at the same time.
BlendMode
+4 more
read/write The blending mode for the shadow portion of the effect.
Swatch read/write The color applied to the shadow portion of the effect, specified as a swatch (color, gradient, tint, or mixed ink), a color library color, a hex value, or as an array of color values. The color mode dictates the array values: for RGB, specify three values, each in the range 0 to 255, in the format [R,G,B]; for CMYK, specify four values, each as a percentage and each in the range 0 to 100, in the format [C,M,Y,K]; for LAB, specify three values in the format [L,A,B], with L in the range 0 to 100 and A and B in the range -128 to 127; for HSB, specify three colors in the format [H,S,B], with H in the range 0 to 360 and S and B as percentages in the range 0 to 100.
Number 0–100 read/write The opacity of the shadow portion of the effect (as a percentage). (Range: 0 to 100)
Number | String unit read/write The size of the bevel or emboss.
Number | String unit read/write The amount (in pixels) of softening.
BevelAndEmbossStyle
read/write The style of bevel or emboss.
BevelAndEmbossTechnique
read/write The edging technique of the bevel or emboss.
Boolean read/write If true, the global light source is used.

Methods

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
BevelAndEmbossSetting[]

Resolves the object specifier, creating an array of object references.

Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

Generates a string which, if executed, will return the BevelAndEmbossSetting.

String

Retrieves the object specifier.

Object of 7

Properties elsewhere that hold a BevelAndEmbossSetting.

Return 1

Methods that return a BevelAndEmbossSetting.