InDesign2026
API 21.5.1.73
Object

CompositeFontEntry

A composite font entry.

Hierarchy

CompositeFont

CompositeFontEntry

Properties

NameType AccessDescription
Font | String read/write The font applied to the CompositeFontEntry, specified as either a font object or the name of font family. Can return: Font or String.
Number read/write The amount of baseline shift.
String read/write The characters that the set affects.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
String read/write The name of the font style.
Number read/write The horizontal scaling applied to the CompositeFontEntry.
Number readonly The unique ID of the CompositeFontEntry.
Number readonly The index of the CompositeFontEntry within its containing object.
Boolean readonly Returns true if the object specifier resolves to valid objects.
String read/write A property that can be set to any string.
Boolean readonly If true, the CompositeFontEntry is locked.
String read/write The name of the CompositeFontEntry.
CompositeFont readonly The parent of the CompositeFontEntry (a CompositeFont).
Object read/write A property that allows setting of several properties at the same time.
Number read/write The size of the entry relative to the base entry. Note: The base entry cannot be modified.
Boolean read/write If true, scales characters from the center.
Number read/write The vertical scaling applied to the CompositeFontEntry.

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.
String

Gets the label value associated with the specified key.

key String The key.
CompositeFontEntry[]

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

void

Sets the label to the value associated with the specified key.

key String The key.
value String The value.
void

Deletes the CompositeFontEntry.

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 CompositeFontEntry.

String

Retrieves the object specifier.

Object of 3

Properties elsewhere that hold a CompositeFontEntry.

Parameter of 3

Method parameters that accept a CompositeFontEntry.

Return 14

Methods that return a CompositeFontEntry.