VCL, unit System.Types

TSize

TSize

Declaration

TSize = record

Description

Represents width and height dimensions:
cx: FixedInt;
cy: FixedInt;

See Also

VCL TSize Documentation

Example

// Get the size of the loaded image
sz := ImageEnView1.IEBitmap.Size;
ShowMessage( Format('Image size: %d x %d', [ sz.cx, sz.cy ]));