AutoSegment method (Mixed Raster Content Control)

C++ Builder Example

Delphi Example

 

Builder Syntax

int __fastcall AutoSegment (int nMinWidth, int nMinHeight, int nSegFactor);

Delphi Syntax

Function AutoSegment (nMinWidth: Integer; nMinHeight: Integer; nSegFactor: Integer): integer;

Overview

Refer to Working with MRC Bitmap.

Remarks

Automatically segments the control's bitmap.

Call this method to segment the bitmap automatically. LEADTOOLS will process the bitmap and break it into appropriate Picture and Text segments. The OnAutoSegment event is triggered for each segment.

See Also

Elements

Bitmap property, StripeMaxHeight property, OnAutoSegment event

Topics

MRC Bitmap Functions: Automatic Segmentation, General Segmentation, Auto-Segmentation