MESCIUS SPREAD for Windows Forms 15.0J
GetTextRectangle メソッド (EditBaseCellType)

テキストを描画するためのグラフィックデバイスインタフェース
セル矩形
フォント
矩形の外観設定
取得するテキスト矩形
描画する文字列
テキストが描画されている矩形を取得します。
構文
protected void GetTextRectangle( 
   Graphics g,
   Rectangle r,
   Font f,
   Appearance appearance,
   ref Rectangle rText,
   string paintString
)
'宣言
 
Protected Sub GetTextRectangle( _
   ByVal g As Graphics, _
   ByVal r As Rectangle, _
   ByVal f As Font, _
   ByVal appearance As Appearance, _
   ByRef rText As Rectangle, _
   ByVal paintString As String _
) 
 

パラメータ

g
テキストを描画するためのグラフィックデバイスインタフェース
r
セル矩形
f
フォント
appearance
矩形の外観設定
rText
取得するテキスト矩形
paintString
描画する文字列

戻り値の型

テキストの Rectangle(rText パラメータに返されます)
参照

EditBaseCellType クラス
EditBaseCellType メンバ

 

 


© MESCIUS inc. All rights reserved.