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

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

パラメータ

s
The C1.Framework.Element.Style object to use.
g
The System.Drawing.Graphics object to use for measuring.
value
The content to measure.

戻り値の型

The desired C1.Framework.Element.Size, in pixels, of the content drawn in a single line with the specified style settings in the specified device context.
参照

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