Ribbon for WinForms
ScaleToDPI(Int32,Int32) メソッド

C1.Win.4.8 アセンブリ > C1.Win.Util 名前空間 > DpiHelper クラス > ScaleToDPI メソッド : ScaleToDPI(Int32,Int32) メソッド
The value for scaling.
The DPI value for the current display device.
Scales a int value to the dpi.
シンタックス
'宣言
 
Public Overloads Shared Function ScaleToDPI( _
   ByVal value As Integer, _
   ByVal dpi As Integer _
) As Integer
public static int ScaleToDPI( 
   int value,
   int dpi
)

パラメータ

value
The value for scaling.
dpi
The DPI value for the current display device.

戻り値の型

The scaled value.
参照

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