FlexGrid for WinForms
GetTextRectangle メソッド (CellStyle)

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > CellStyle クラス : GetTextRectangle メソッド
セル四角形。
セル領域をテキストと共有する画像。
セル領域をテキストと共有するチェックボックス画像。
セル四角形のテキスト部分を取得します。
シンタックス
'宣言
 
Public Function GetTextRectangle( _
   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 GetTextRectangle( 
   System.Drawing.Rectangle rc,
   System.Drawing.Image img,
   System.Drawing.Image checkImage
)

パラメータ

rc
セル四角形。
img
セル領域をテキストと共有する画像。
checkImage
セル領域をテキストと共有するチェックボックス画像。

戻り値の型

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

CellStyle クラス
CellStyle メンバ