InDesign2026
API 21.5.1.73
Object

LayoutGridDataInformation

Default properties specific to layout grids.

Preference LayoutGridDataInformation
Hierarchy

Application | Document

LayoutGridDataInformation

Properties

NameType AccessDescription
Font | String read/write The font applied to the LayoutGridDataInformation, specified as either a font object or the name of font family. Can return: Font or String.
Number read/write The amount of white space between characters.
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 LayoutGridDataInformation.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Number read/write The amount of white space between lines.
Application | Document readonly The parent of the LayoutGridDataInformation (a Application or Document).
Number | String unit read/write The text size.
Object read/write A property that allows setting of several properties at the same time.
Number read/write The vertical scaling applied to the LayoutGridDataInformation.

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

String

Retrieves the object specifier.

Object of 5

Properties elsewhere that hold a LayoutGridDataInformation.

Return 1

Methods that return a LayoutGridDataInformation.