CGXGridCore::AddBorders
virtual CSize AddBorders(CSize size, const CGXStyle& style);
size
Specifies the size of the cell rectangle.
style
A reference to the style-object of the cell.
Return Value
Returns the full size of the cell with borders.
Remarks
Computes the full size for the cell adding the area needed for borders to the given size.
The method is called by CGXControl::CalcSize to add the border dimensions to the optimal row-height and column-width of a cell.