LSegment::MrcDeleteSegment
#include "ltwrappr.h"
L_INT LSegment::MrcDeleteSegment(nSegId)
| L_INT nSegId; | /* segment identifier */ | 
Deletes a segment. This function is available in the (Document/Medical) toolkits.
| Parameter | Description | 
| nSegId | Segment’s ID to delete. | 
Returns
| SUCCESS | The function was successful. | 
| < 1 | An error occurred. Refer to Return Codes. | 
Comments
Use this function to delete a specific segment from the segmentation handle. This function is valid with both the automatic and the manual segmentation processes.
Call the LSegment::MrcStartBitmapSegmentation function before using any of the segmentation functions. When the class object of the segmentation is no longer needed, it should be freed by calling the LSegment::MrcStopBitmapSegmentation function.
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
Example
For an example, refer to LSegment::MrcSetSegmentData.