FlexGrid for WinForms
GetImageRectangle メソッド (CellStyle)

C1.Win.FlexGrid.6 アセンブリ > C1.Win.FlexGrid 名前空間 > CellStyle クラス : GetImageRectangle メソッド
セル四角形。
セルに表示する画像。
セルに表示されるチェックボックス画像。
セル四角形の画像部分を取得します。
シンタックス
'宣言
 
Public Function GetImageRectangle( _
   ByVal rc As System.Drawing.Rectangle, _
   ByVal img As System.Drawing.Image, _
   Optional ByVal checkImage As System.Drawing.Image _
) As System.Drawing.Rectangle
public System.Drawing.Rectangle GetImageRectangle( 
   System.Drawing.Rectangle rc,
   System.Drawing.Image img,
   System.Drawing.Image checkImage
)

パラメータ

rc
セル四角形。
img
セルに表示する画像。
checkImage
セルに表示されるチェックボックス画像。

戻り値の型

セルの画像部分を表す四角形。 セルの境界線、パディングが占める領域は除外されます。
参照

CellStyle クラス
CellStyle メンバ