ComponentOne FlexPivot for WinForms
C1.Win.FlexPivot.4.5.2 Assembly / C1.Win.FlexPivot Namespace / C1FlexPivotGrid Class / MeasureCellSize Method / MeasureCellSize(Int32,Int32) Method
Specified cell row.
Specified cell column.

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

    Parameters

    row
    Specified cell row.
    col
    Specified cell column.

    Return Value

    Returns the size that the specified cell will occupy after drawing.
    Remarks
    Creates a new System.Drawing.Graphics object on each call. To calculate the size of multiple cells, use C1.Win.C1FlexGrid.C1FlexGridBase.MeasureCellSize
    See Also