The following example uses the MRC functions to save a page as MRC or PDF:
Start up the segmentation process by calling L_MrcStartBitmapSegmentation.
Segment the page by calling L_MrcSegmentBitmap.
Copy the segmentation handle and data to another handle by calling L_MrcCopySegmentationHandle.
Call L_MrcSaveBitmapList to save a multipage file using Standard T44 format, LEAD Proprietary T44 format or PDF format.
End the segmentation process by calling L_MrcStopBitmapSegmentation.
The functionality provided by this module can be broken into the following categories:
Start up and end the segmentation process:
Automatic segmentation of a page:
Manual segmentation of a page: L_MrcCreateNewSegment
Saving a page as MRC or PDF:
Saving multiple pages as MRC or PDF: L_MrcSaveBitmapList
Loading an MRC file: