Developer

FillMode

Specifies how image will occupy available space inside cell.

property FillMode: TNxFillMode read FFillMode write SetFillMode default fmAspectFit;Read TNxFillMode page for values.


Remarks


When FillMode is set to ftAspectFit, image will keep aspect ratio and be fully painted inside cell. This is best mode if there are images that are larger than cell.

If all images are smaller than cell, fmAspectFill is better option since it doesn't pixelate small images while resizing them.

See also