ImageEn, unit iemview

TImageEnMView.AppendSplit

TImageEnMView.AppendSplit


Declaration

function AppendSplit(SourceGrid: TIEBitmap; cellWidth: Integer; cellHeight: Integer; maxCount: Integer = 0): Integer;


Description

Splits the source image into cells of the specified size and adds each cell to the TImageEnMView

Result is the count of added images.

Parameter Description
SourceGrid Source bitmap containing cells to split.
cellWidth Width of a cell.
cellHeight Height of a cell.
maxCount Maximum number of cells to add. 0 = all suitable cells.