C1.Win.FlexGrid Namespace / C1FlexGrid Class / CalculateCellHeight Method
Graphics instance.
Specified cell row index.
Specified cell column index.
Skip hidden cells.
Skip merged cells.
Measure only one character of a cell's text value.
Distance of measured one character to the right border of the cell.

In This Topic
CalculateCellHeight Method (C1FlexGrid)
In This Topic
Calculates the height of the specified grid cell.
Syntax
'Declaration
 
Protected Overrides Function CalculateCellHeight( _
   ByVal g As Graphics, _
   ByVal row As Integer, _
   ByVal col As Integer, _
   ByVal skipHidden As Boolean, _
   ByVal skipMerged As Boolean, _
   ByVal measureSymbol As Boolean, _
   ByRef symbolRight As Integer _
) As Integer
 

Parameters

g
Graphics instance.
row
Specified cell row index.
col
Specified cell column index.
skipHidden
Skip hidden cells.
skipMerged
Skip merged cells.
measureSymbol
Measure only one character of a cell's text value.
symbolRight
Distance of measured one character to the right border of the cell.

Return Value

Height of the cell.
See Also