PrintDocument for WinForms
SamePaperSizes メソッド (Utils)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > Utils クラス : SamePaperSizes メソッド
The first size to compare.
The second size to compare.
Tests two sizes for equality allowing a small margin for rounding errors.
シンタックス
'宣言
 
Public Shared Function SamePaperSizes( _
   ByVal size1 As System.Drawing.SizeF, _
   ByVal size2 As System.Drawing.SizeF _
) As System.Boolean
'使用法
 
Dim size1 As System.Drawing.SizeF
Dim size2 As System.Drawing.SizeF
Dim value As System.Boolean
 
value = Utils.SamePaperSizes(size1, size2)
public static System.bool SamePaperSizes( 
   System.Drawing.SizeF size1,
   System.Drawing.SizeF size2
)

パラメータ

size1
The first size to compare.
size2
The second size to compare.

戻り値の型

True if the two sizes are reasonably close, false otherwise.
参照

Utils クラス
Utils メンバ