Adobe InDesign CS5 (7.0) Object Model JS: Reflection

InDesign CS5

Class

Reflection

 Provides information about a class.

QuickLinks

find, toXML

Properties

PropertyTypeAccessDescription
descriptionstring readonlyThe long description text.
helpstring readonlyThe short description text.
methodsArray of ReflectionInfo readonlyAn array of method descriptions.
namestring readonlyThe class name.
propertiesArray of ReflectionInfo readonlyAn array of property descriptions.
sampleCodestring readonlySample code, if present.
sampleFileFile readonlyA file containing sample code. May be null.
staticMethodsArray of ReflectionInfo readonlyAn array of class method descriptions.
staticPropertiesArray of ReflectionInfo readonlyAn array of class property descriptions.

Methods

Instances

ReflectionInfo find (name: string)
Finds an element description by name.

ParameterTypeDescription
namestringThe name of the element to find.

XML toXML ()
Returns this class information as XML in OMV format.

Element of

Object.reflect

ReflectionInfo.parent

Jongware, 20-Jun-2010 v3.0.3dContents :: Index