OnEnumSegments event (Mixed Raster Content Control)

C++ Builder Example

Delphi Example

 

Builder Syntax

TEnumSegmentsEvent OnEnumSegments (int nSegId, int SegmentLeft, int SegmentTop, int SegmentRight, int SegmentBottom, int nSegType, unsigned crTextForeColor, unsigned crTextBackColor);

Delphi Syntax

OnEnumSegments (nSegId: Integer; SegmentLeft: Integer; SegmentTop: Integer; SegmentRight: Integer; SegmentBottom: Integer; nSegType: Integer; crTextForeColor: TColorRef; crTextBackColor: TColorRef): TEnumSegmentsEvent;

Overview

Refer to Working with MRC Bitmap.

Remarks

Triggered during automatic and normal segmentation of the control's bitmap.

The OnAutoSegment event is fired once for each segment in all stripes.

See Also

Elements

EnumSegments method

Topics

MRC Bitmap Functions: Manipulating Segments