beautypg.com

Contents_copy_contents, Related items, Dm api t – Kofax DM API User Manual

Page 331: See the, Object. see the, Method. see the, Token

background image

DM API T

OKENS

311

%CONTENTS_COPY_CONTENTS

'Set the target folder.

pDocObject.SetProperty("%CONTENTS_DST_PARENT", tarFolderNum)


'Set the target folder version.

pDocObject.SetProperty("%CONTENTS_DST_PARENT_VERSION", _

tarFolderVersion)


'Set the target folder library.

pDocObject.SetProperty("%CONTENTS_DST_PARENT_LIBRARY", _

tarFolderLibID)


'Command to copy.

pDocObject.SetProperty("%CONTENTS_DIRECTIVE", _

"%CONTENTS_COPY_CONTENTS")


'Perform the update.

pDocObject.Update()


'Check the error.

checkError(pDocObject, "ERROR_COPYFOLDERCONTENTS")


'Delete the object.

delete pDocObject

Related Items

See the

PCDDocObject

object.

See the

SetProperty

method.

See the

%CONTENTS_DIRECTIVE

token.