cnv.GetPageCount

This job determines the total page count from the image files of a document.

Determination is only performed for image and PDF documents. If the total page count can be determined from all files in the list or the document, FileCount and PageCount are returned.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

1 = do not delete the passed file list; 0 = delete (for client-side calls)

[ObjectID]

INT

No

ID of the document (alternative to file list)

[ObjectType]

INT

No

Type of the object (alternative to file list)

2. Input Files

Name Description

[File list]

Paths and names of files whose total page count should be determined (alternative to ObjectID/ObjectType)

3. Output Parameters

Name Type Dependency Description

FileCount

INT

Number of files of the document (file list)

PageCount

INT

Total page count of all files of the document (file list)

4. Return Value

(INT): 0 = Job successful, otherwise error code.