CalendarView for WinForms
MeasureText メソッド

C1.Win.C1Input.4.5.2 アセンブリ > C1.Framework.Drawing.Gdi.DeviceContexts 名前空間 > DeviceContext クラス : MeasureText メソッド
The string that specifies the text to be drawn.
Contains the proposed size in which the text is to be formatted.
Specifies the method of formatting the text.
Draws formatted text in the specified rectangle.
シンタックス
'宣言
 
Public Function MeasureText( _
   ByVal text As System.String, _
   ByVal proposedSize As System.Drawing.Size, _
   ByVal format As TextFormat _
) As System.Drawing.Size
public System.Drawing.Size MeasureText( 
   System.string text,
   System.Drawing.Size proposedSize,
   TextFormat format
)

パラメータ

text
The string that specifies the text to be drawn.
proposedSize
Contains the proposed size in which the text is to be formatted.
format
Specifies the method of formatting the text.
参照

DeviceContext クラス
DeviceContext メンバ