Isempty, Isempty 24 – Kofax DM API User Manual

Page 262

Advertising
background image

242 C

HAPTER

4

IsEmpty

IsEmpty

Use this method to check whether an empty document was uploaded.

Syntax

PCDASPFileUpload.IsEmpty()

Returns

IsEmpty returns a Boolean value.

TRUE

indicates that an empty

document was uploaded.

Usage

In Netscape and Internet Explorer, users can erroneously attempt to
upload a non-existent file by entering a file name that does not exist on
their system. The

IsEmpty

method provides you with a way to test for

this before the system tries to create the document in a DM file store.

Related Items

See the

PCDASPFileUpload

object.

Advertising