Getproperty, Getproperty 205 – Kofax DM API User Manual

Page 225

Advertising
background image

DM API M

ETHODS

AND

P

ROPERTIES

205

GetProperty

GetProperty

Use this method to get the value of a property. This value may have been
previously set with the

SetProperty

method, or it may have been

returned in a call to the

Fetch

method.

Syntax

PCDDocObject.GetProperty( strPropName )

PCDPropertyLists.GetProperty( strPropName )

Parameter

Returns

Returns a pointer to a

VARIANT

structure where the requested value

will be put. Languages such as JavaScript, Visual Basic, and VBScript
return this as a function value. This value is also available in the

ErrNumber

property.

Related Items

See the following objects:

PCDDocObject

PCDPropertyLists

See the following properties:

ErrDescription
ErrNumber

strPropName

The string (

BSTR) variable that contains the

name of the property for which GetProperty
is to return the value.

Advertising