InDesign2026
API 21.5.1.73
Object

GridDataInformation

Grid defaults. Note: Applies to named, layout, and frame (story) grids.

Preference GridDataInformation
Hierarchy

EndnoteTextFrame | NamedGrid | Page | Story | TextFrame | XmlStory

GridDataInformation

Properties

NameType AccessDescription
Font | String read/write The font applied to the GridDataInformation, 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.
CharacterAlignment
read/write The alignment of small characters to the largest character in the line.
CharacterCountLocation
read/write The character count location. Note: Valid when show character count is true.
Number read/write The character size for the character count display.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
String read/write The name of the font style.
GridAlignment
read/write The alignment to the frame grid or baseline grid.
GridViewSettings
read/write The grid view setting.
Number read/write The horizontal scaling applied to the GridDataInformation.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Number read/write The amount of white space between lines.
LineAlignment
read/write The line justification.
NamedGrid | Page | TextFrame | XmlStory | EndnoteTextFrame | Story readonly The parent of the GridDataInformation (a Story, XmlStory, Page, NamedGrid, TextFrame or EndnoteTextFrame).
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 GridDataInformation.

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.
GridDataInformation[]

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

String

Retrieves the object specifier.

Object of 9

Properties elsewhere that hold a GridDataInformation.

Return 1

Methods that return a GridDataInformation.