DeleteSegment method (ILEADRasterMrc)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short DeleteSegment(long nSegId);

Overview

Refer to Working with the MRC Bitmap.

Remarks

Deletes a specific segment from the object. This method is valid with the auto and manual segmentation process.

In the manual segmentation process, segment IDs are returned by the CreateNewSegment method.

In the auto segmentation process the user may call the EnumSegments method to get the segment information and their IDs.

See Also

Elements:

EnumSegments method, SetSegmentData method

Topics:

Raster Images: Manipulating Segments