Dsl (Digital Simulation Library) for .Net
単位変換関数: mm からピクセルに変換

名前空間: DslDialog
アッセンブリー: DslDialog (in DslDialog.dll)

構文

C#
public static float MmToPixelY(
	float mm,
	Graphics g
)
Visual Basic
Public Shared Function MmToPixelY ( 
	mm As Single,
	g As Graphics
) As Single
Visual C++
public:
static float MmToPixelY(
	float mm, 
	Graphics^ g
)

Parameters

mm
タイプ: System..::..Single
縦方向のmm幅
g
タイプ: System.Drawing..::..Graphics
変換に使用する Graphics オブジェクト

Return Value

タイプ: Single
縦方向のピクセル幅

参照