Setreturnproperties, Setreturnproperties 27, U can also use the – Kofax DM API User Manual

Page 299

Advertising
background image

DM API M

ETHODS

AND

P

ROPERTIES

279

SetReturnProperties

SetReturnProperties

Use this method to set

PCDRecentDoc

or

PCDSearch

objects with a

collection of properties. Any property values that were previously set
are deleted by the SetReturnProperties method.

Syntax

PCDRecentDoc.SetReturnProperties( objPropList )

PCDSearch.SetReturnProperties( objPropList )

Parameter

Returns

Returns an

HRESULT

to receive the result of the call.

S_OK

indicates

success. Languages such as JavaScript, Visual Basic, and VBScript
return this as a function value.

Related Items

See the following objects:

PCDPropertyList
PCDRecentDoc
PCDSearch

See the

GetReturnProperties

method.

See the following properties:

ErrDescription
ErrNumber

objPropList

A variable that points to a

PCDPropertyList

object that contains the return properties of the
search.

Advertising