DeleteSegment method (Mixed Raster Content Control)

C++ Builder Example

Delphi Example

 

Builder Syntax

int __fastcall DeleteSegment (int nSegId);

Delphi Syntax

Function DeleteSegment (nSegId nSegId: Integer): Integer;

Overview

Refer to Working with MRC Bitmap.

Remarks

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

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

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

See Also

Elements

SetStripeSegment method, EnumSegments method, UpdateSegmentData method, SetNewStripe method

Topics

MRC Bitmap Functions: Manipulating Segments