FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / C1FlexGrid Class / MeasureCellSize Method / MeasureCellSize(Graphics,Int32,Int32) Method
Graphics.
Specified cell row.
Specified cell column.

In This Topic
    MeasureCellSize(Graphics,Int32,Int32) Method
    In This Topic
    Measures the specified cell when drawn.
    Syntax
    'Declaration
     
    
    Public Overloads Function MeasureCellSize( _
       ByVal g As Graphics, _
       ByVal row As Integer, _
       ByVal col As Integer _
    ) As Size
    public Size MeasureCellSize( 
       Graphics g,
       int row,
       int col
    )

    Parameters

    g
    Graphics.
    row
    Specified cell row.
    col
    Specified cell column.

    Return Value

    Returns the size that the specified cell will occupy after drawing.
    See Also