TIEMultiBitmap.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 TIEMultiBitmap
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 |
// Split image of a TImageEnView into 100x100 cells and add to our multi-bitmap
n := mbmp.AppendSplit( ImageEnView1.IEBitmap, 100, 100 );