Setobjecttype, Oc.setobjecttype, C.setobjecttype "d – Kofax DM API User Manual
Page 292: C.setobjecttype, Method

272 C
HAPTER
4
SetObjectType
SetObjectType
Use this method to set the object type. For
and
the object is a form available to the user.
Syntax
PCDDocObject.SetObjectType( strObjectType )
PCDGetForm.SetObjectType( strObjectType )
PCDPropertyLists.SetObjectType( strObjectType )
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.
Usage
This routine must be called before you call any of the following
methods:
Example
The
object illustrates
how you can use SetObjectType in your custom applications.
Related Items
See the following objects:
strObjectType
A string (
BSTR) variable that identifies the object
type that the method is to use.