Developer

BestFitColumn

Best-fit Column by measuring some, or all column elements.

function BestFitColumn(const Column: INxColumn; Mode: TNxBestFitMode = [bfCells]): Integer; virtual;

Example:


NxTextColumn62.Footer.MultiLine := True; NxTextColumn62.Footer.Caption := 'This is very long text in multiple' + #13#10 + 'rows'; NextGrid61.BestFitColumn(NxTextColumn62, [bfCells, bfFooter]);

See also