GetNumberOfPagesInMODCAFile Method

 

Description

Returns the number of pages in an MO:DCA file. MO:DCA files can contain various objects (e.g.: text) on the pages. Some pages may not contain an image object that is readable with the Document Imaging SDK. To retrieve the number of image objects in the MO:DCA file, use the GetNumberOfImagesInMODCAFile function instead.

Syntax

Pages = [BITIFF.] GetNumberOfPagesInMODCAFile FileName

Parameters

FileName

String  Full path to the MO:DCA file.

Return Value

The number of pages on success, or 0 on failure. Use the BiTiffGetLastErrort function to get the error code.