[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.C1FlexGridBase.CalculateCellHeight

CalculateCellHeight Method

CalculateCellHeight(Graphics, int, int, bool, bool, bool, out int)

Calculates the height of the specified grid cell.

Declaration
protected virtual int CalculateCellHeight(Graphics g, int row, int col, bool skipHidden, bool skipMerged, bool measureSymbol, out int symbolRight)
Parameters
Type Name Description
Graphics g

Graphics instance.

int row

Specified cell row index.

int col

Specified cell column index.

bool skipHidden

Skip hidden cells.

bool skipMerged

Skip merged cells.

bool measureSymbol

Measure only one character of a cell's text value.

int symbolRight

Distance of measured one character to the right border of the cell.

Returns
Type Description
int

Height of the cell.