[]
Gets the image portion of a cell's rectangle.
public Rectangle GetImageRectangle(Rectangle rc, Image img, Image checkImage = null)
| 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. |
| Type | Description |
|---|---|
| Rectangle | A rectangle that represents the image portion of a cell, discounting the area taken up by the cell borders and padding. |