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

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

パラメータ

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

戻り値の型

The scaled value.
参照

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