Vcl.Grids.TCustomGrid.CalcDrawInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CalcDrawInfo(var DrawInfo: TGridDrawInfo);

C++

void __fastcall CalcDrawInfo(TGridDrawInfo &DrawInfo);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

Description

Calculates the pixel locations of the grid boundaries.

Use CalcDrawInfo to determine the pixel locations of the major grid boundaries in the X and Y directions, including things like the first visible column/row, the last visible column/row, the pixel extent of the fixed column/row, etc.

See Also