Gets the image portion of a cell's rectangle.
'宣言
Public Function GetImageRectangle( _
ByVal As System.Drawing.Rectangle, _
ByVal As System.Drawing.Image _
) As System.Drawing.Rectangle
public System.Drawing.Rectangle GetImageRectangle(
System.Drawing.Rectangle ,
System.Drawing.Image
)
パラメータ
- rc
- Cell rectangle.
- img
- Image to be displayed on the cell.
戻り値の型
A rectangle that represents the image portion of a cell, discounting the area taken up by the cell borders and padding.