Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / TextCellType Class / GetPreferredSize Method


In This Topic
    GetPreferredSize Method (TextCellType)
    In This Topic
    Gets the preferred (maximum needed) size of the cell for the editor control.
    Gets the preferred size (maximum size) of the editor control used in the cell.
    Overload List
    OverloadDescription
    Gets the preferred (maximum needed) size of the cell for the editor control.  
    Gets the preferred (maximum required) size of the cell for the renderer control.  
    Remarks
    When font is italic, the size calculation may not be accurate (because of the underlying .NET framework). The line wrapping that occurs based on the WordWrap property setting and the adjusting that occurs when the user double-clicks the header edge may not adjust properly.
    See Also