Form_profile_defaults, Related items, 368 c – Kofax DM API User Manual

Page 388: See the, Object. see the, Method

Advertising
background image

368 C

HAPTER

5

%FORM_PROFILE_DEFAULTS


'Instantiate a PCDPropertyList object.

pPropList = pDocObj.GetReturnProperties()


'Populate a property list with the profile defaults.

pProfDefaults = pPropList.GetPropertyValue(

“%FORM_PROFILE_DEFAULTS”)


'Check for errors.

If Not( pPropList.ErrNumber = 0) Then

'Process the error.

End If


'Iterate through the default properties.

pProfDefaults.BeginIter()


while( pProfDefaults = 0)

strPropName = pProfDefaults.GetCurrentPropertyName()

strPropValue = pProfDefaults.GetCurrentPropertyValue()

'Process the current property.

'Set the pointer to process the next property value.

pProfDefaults.NextProperty()

Wend

Related Items

See the

PCDPropertyList

object.

See the

GetPropertyValue

method.

Advertising