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.

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, LSegment::MrcSegmentBitmap, Class Members

Topics:

Loading Capabilities

Example

L_INT LSegment__MrcGetPagesCountExample(L_TCHAR * szFileName, L_INT& nCount)
{
   LSegment Segment;
   nCount = Segment.MrcGetPagesCount(szFileName);
   return SUCCESS;
}