[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.CellStyle.GetTextRectangle

GetTextRectangle Method

GetTextRectangle(Rectangle, Image, Image)

Gets the text portion of a cell's rectangle.

Declaration
public Rectangle GetTextRectangle(Rectangle rc, Image img, Image checkImage = null)
Parameters
Type Name Description
Rectangle rc

Cell rectangle.

Image img

Image that shares the cell space with the text.

Image checkImage

Checkbox image that shares the cell space with the text.

Returns
Type Description
Rectangle

A rectangle that represents the text portion of a cell, discounting the area taken up by the cell borders, padding, and images.