LSegment::MrcGetPagesCount

#include "ltwrappr.h"

L_INT LSegment::MrcGetPagesCount(pszFileName)

L_TCHAR * pszFileName;

/* MRC image file name */

Gets the number of pages in an MRC image file. This function is available in the (Document/Medical) toolkits.

Parameter

Description

pszFileName

Character string that contains the name of the MRC image file.

Returns

The number of pages in the given MRC image file.

Required DLLs and Libraries

LTSGM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Elements:

LSegment::MrcSaveBitmap, LSegment::MrcSaveBitmapT44, LSegment::MrcLoadBitmap, Class Members

Topics:

Loading Capabilities

Example

L_INT GetTotalPages(L_TCHAR * szFileName)
{
   LSegment Segment;
   return Segment.MrcGetPagesCount(szFileName);
}