Ribbon for WinForms
Measure(Graphics,Object,Int32) メソッド

C1.Win.8 アセンブリ > C1.Framework 名前空間 > CheckBoxButtonElement クラス > Measure メソッド : Measure(Graphics,Object,Int32) メソッド
The System.Drawing.Graphics object to use for measuring.
The content to measure.
The available width.
Provides the size, in pixels, of the specified content drawn on the specified System.Drawing.Graphics surface within the rectangle of the specified width.
シンタックス
'宣言
 
Public Overloads Function Measure( _
   ByVal g As Graphics, _
   ByVal value As Object, _
   ByVal width As Integer _
) As Size
public Size Measure( 
   Graphics g,
   object value,
   int width
)

パラメータ

g
The System.Drawing.Graphics object to use for measuring.
value
The content to measure.
width
The available width.

戻り値の型

The desired Element.Size, in pixels, of the content drawn in within the rectangle of the specified width with the current style settings in the specified device context.
参照

CheckBoxButtonElement クラス
CheckBoxButtonElement メンバ
オーバーロード一覧