LEADTOOLS MRC C++ Class Library Help > LEADTOOLS MRC Features > Working with the LEADTOOLS MRC Module > Summary: Saving a Page as MRC or PDF |
A scenario for using the above functions in order to save a page as MRC or PDF is as follows:
1. |
Start up the segmentation process by calling LSegment::MrcStartBitmapSegmentation. |
2. |
Segment the page by calling LSegment::MrcSegmentBitmap. |
3. |
Change some properties of the segments by calling LSegment::MrcSetSegmentData and LSegment::MrcEnumSegments. |
4. |
Delete some segments by calling LSegment::MrcDeleteSegment and LSegment::MrcEnumSegments. |
5. |
Combine segments by calling LSegment::MrcCombineSegments and LSegment::MrcEnumSegments. |
6. |
Copy the segmentation handle and data to another handle by calling LSegment::MrcCopySegmentationHandle. |
7. |
Call LSegment::MrcSaveSegmentation to save the resulting segments to a file. To load segments that have bee saved to a file, call LSegment::MrcLoadSegmentation. |
8. |
Call LSegment::MrcSaveBitmapT44 to save the page as a Standard T44 file OR Call LSegment::MrcSaveBitmap to save the page using LEAD Proprietary T44 Format. |
9. |
Call LSegment::MrcSaveBitmapList to save a multi page file using Standard T44 format, LEAD Proprietary T44 format or PDF format. |
10. |
End the segmentation process by calling LSegment::MrcStopBitmapSegmentation. |
The functionality provided by this module can be broken into the following categories:
1. |
Start up and end the segmentation process: |
|
|
|
|
2. |
Automatic segmentation of a page: |
|
|
3. |
Manual segmentation of a page: |
|
|
4. |
Manipulating segments: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5. |
Saving a page as MRC or PDF: |
|
|
|
|
6. |
Saving multiple pages as MRC or PDF: |
|
|
7. |
Loading an MRC file: |
|
|
|