ImageEn, unit ievision

TIEVisionBaseVector.size

TIEVisionBaseVector.size


Declaration

function size(): int32_t; safecall;


Description

Returns the number of items in the vector.


Example

// Output all rects as image files
for i := 0 to rects.size - 1 do
  with rects.getRect(i) do
  begin
    bmp := TIEBitmap.Create( width, height );
    ImageEnView1.IEBitmap.RenderToTIEBitmapEx( bmp, 0, 0, width, height, x, y, width, height );
    bmp.SaveToFile( format( 'D:\Face_%d.jpg', [ i+1 ]));
    bmp.Free;
  end;