Create, C.create – Kofax DM API User Manual

Page 179

Advertising
background image

DM API M

ETHODS

AND

P

ROPERTIES

159

Create

Create

Use this method to create the object that has been identified by the

SetObjectType

method.

Syntax

PCDDocObject.Create()

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.

Example

The

Example

in the discussion of the

PCDPutDoc

object illustrates the

use of this method.

Related Items

See the

PCDDocObject

object.

See the following methods:

Delete
Fetch
Update

See the following properties:

ErrDescription
ErrNumber

Advertising