Get Document Size

This functionality gets the size of a document.

 

Usage in Visual C++/Visual Basic Application

Usage in Java Application

Error

 

Usage in Visual C++/Visual Basic Application

Prototype

int WINAPI NGISGetDocSize ( LPTSTR cabinetName, LPISINDEX isIndex,LPINT docSize)

 

Input Parameters description

Name

Description

Valid Values

Type Of Parameter

cabinetName

Name of the Image Cabinet to which the User wants to connect.

Not Null

Input Parameter

isIndex

A pointer to a variable of type ISINDEX . The structure ISINDEX contains information (viz.namely,  indexIndex of the vVolume in which document is added and the indexIndex of the document in that vVolume) about the document whose size is to be obtained.

 

Input Parameter

docSize

Size of the document

 

Output Parameter

 

Output Parameters

This method returns an integer, which will be 1 in case of success else an error code will be returned.

 

 

Usage in Java Application

 

Prototype

public int JPISGetDocSize ( String cabinetName, JPISIsIndex isIndex, JPDBInteger docSize)

 

Input Parameters description

Name

Description

Valid Values

Type Of Parameter

cabinetName

Name of the Image Cabinet to which the User wants to connect.

Not null

Input Parameter

isIndex

An object of type JPISIsIndex, which contains information (viz.namely,  indexIndex of the vVolume in which document is added and the indexIndex of the document in that vVolume) about the document whose size is to be obtained. 

 

Input Parameter

docSize

Size of the document.

 

Output Parameter

 

Output Parameters

This method returns an integer that will be 1 in case of success else an error code will be returned.