Adobe InDesign CS5.5 Server (7.5) Object Model JS: LayoutGridDataInformation

InDesign Server CS5.5

Class

LayoutGridDataInformation

 Default properties specific to layout grids. Base Class: Preference

QuickLinks

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Hierarchy

Application | Document
Preference
LayoutGridDataInformation
Event | EventListener | MutationEvent

Properties

PropertyTypeAccessDescription
appliedFontFontString r/wThe font applied to the LayoutGridDataInformation, specified as either a font object or the name of font family. Can return: Font or String.
characterAkinumber r/wThe amount of white space between characters.
eventListenersEventListeners EventListener readonlyA collection of event listeners.
eventsEvents Event readonlyA collection of events.
fontStylestring r/wThe name of the font style.
horizontalScalenumber r/wThe horizontal scaling applied to the LayoutGridDataInformation.
isValidbool readonlyReturns true if the object specifier resolves to valid objects.
lineAkinumber r/wThe amount of white space between lines.
parentApplication
Document
readonlyThe parent of the LayoutGridDataInformation (a Application or Document).
pointSizeMeasurement Unit (Number or String) r/wThe text size.
propertiesObject r/wA property that allows setting of several properties at the same time.
verticalScalenumber r/wThe vertical scaling applied to the LayoutGridDataInformation.

Methods

Instances

EventListener addEventListener (eventType: string, handler: varies[, captures: bool=false])
Adds an event listener.

ParameterTypeDescription
eventTypestringThe event type.
handlerFile
JavaScript Function
The event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

Array of LayoutGridDataInformation getElements ()
Resolves the object specifier, creating an array of object references.

bool removeEventListener (eventType: string, handler: varies[, captures: bool=false])
Removes the event listener.

ParameterTypeDescription
eventTypestringThe registered event type.
handlerFile
JavaScript Function
The registered event handler. Can accept: File or JavaScript Function.
capturesboolThis parameter is obsolete. (Optional) (default: false)

string toSource ()
Generates a string which, if executed, will return the LayoutGridDataInformation.

string toSpecifier ()
Retrieves the object specifier.

Element of

Application.layoutGridData

Document.layoutGridData

Return

Array of LayoutGridDataInformation LayoutGridDataInformation.getElements ()

Jongware, 28-Apr-2012 v3.0.3iContents :: Index