OnAutoSegment event (Mixed Raster Content Control)
Builder Syntax |
TAutoSegmentEvent OnAutoSegment (int nStripeNo, int nStripeStartRow, int nStripeEndRow, int nSegmentNo, int SegmentLeft, int SegmentTop, int SegmentRight, int SegmentBottom, int nSegType, unsigned crTextForeColor, unsigned crTextBackColor); |
Delphi Syntax |
OnAutoSegment (nStripeNo: Integer; nStripeStartRow: Integer; nStripeEndRow: Integer; nSegmentNo: Integer; SegmentLeft: Integer; SegmentTop: Integer; SegmentRight: Integer; SegmentBottom: Integer; nSegType: integer; crTextForeColor: TColorRef; crTextBackColor: TColorRef): TAutoSegmentEvent; |
Overview |
Refer to Working with MRC Bitmap. |
Remarks
Triggered during automatic segmentation of the control's bitmap.
The OnAutoSegment event is fired once for each segment in all stripes.
See Also
Elements |
Bitmap property, StripeMaxHeight property, AutoSegment method |
Topics |
MRC Bitmap Functions: Automatic Segmentation, General Segmentation, Auto-Segmentation |