Spread Windows Forms 12.0 Product Documentation
GetPreferredSize Method (TextCellType)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > TextCellType Class : GetPreferredSize Method
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

Reference

TextCellType Class
TextCellType Members