Compares two sizes.

Namespace:  C1.C1Rdl
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public static int Compare(
	ReportSize s1,
	ReportSize s2
)
Visual Basic
Public Shared Function Compare ( _
	s1 As ReportSize, _
	s2 As ReportSize _
) As Integer

Parameters

s1
Type: C1.C1Rdl..::..ReportSize
The first size to compare.
s2
Type: C1.C1Rdl..::..ReportSize
The second size to compare.

Return Value

-1 if s1 is less than s2, 1 if s1 is greater than s2, or 0 if the two sizes are equal.

See Also