getProperty()

The object that represents a given property is retrieved.

Tip:

Useful for getting values of out arrays.

Example using getProperty():

prpResult = nodMyNode.getProperty(strName)
arrValues = prpResult.getValues()

Property Object

Description

prpResult

An array of values that require reading or modification.

Parameter

Description

strName

The property name

getProperty() may be accompanied by a getValues() call; for example:

arrScripts = nodDocScripts.getProperty(“EScript”).getValues()
var startUp = arrScripts[0]
var shutDown = arrScripts[1]
var preProc = arrScripts[2]
var postProc = arrScripts[3]

Use the EScript property to access multi-valued properties that correspond to simple arrays; for example:

var someScript = docAnnotation.EScript[i]