SetSegmentData method (ILEADRasterMrc)
short SetSegmentData(LPDISPATCH pRaster, long nSegId, long SegmentLeft, long SegmentTop, long SegmentRight, long SegmentBottom, MRCSegmentTypeConstants SegType); | |
Overview |
Refer to Working with the MRC Bitmap. |
Remarks
(Document/Medical only) Updates the segment information. The LEADTOOLS engine will update the segments using the new segment data passed to this method. This process may create or delete segments.
The user can enumerate all segments using the EnumSegments method to get segment IDs and segment information.
The method will return an error if the updated segment exceeds its image boundaries. The method will update the segments so they remain within the bitmap width and height.
Call the StartSegmentation method before using any of the segmentation functions. Call the StopSegmentation method to end the bitmap segmentation and free all data variables and buffers.
See Also
Elements |
AutoSegment method, DeleteSegment method, EnumSegments method |
Topics |