[]
        
(Showing Draft Content)

C1.Win.FlexGrid.CellStyle.GetImageRectangle

GetImageRectangle Method

GetImageRectangle(Rectangle, Image, Image)

Gets the image portion of a cell's rectangle.

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

Cell rectangle.

Image img

Image to be displayed on the cell.

Image checkImage

Checkbox image to be displayed on the cell.

Returns
Type Description
Rectangle

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