[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Length.op_GreaterThan

operator > Operator

operator >(Length, Length)

Determines if the first Length value is greater than the second.

Declaration
public static bool operator >(Length unit1, Length unit2)
Parameters
Type Name Description
Length unit1

A first Length value to compare.

Length unit2

A second Length value to compare.

Returns
Type Description
bool

A bool value. true if the first length is greater than the second; otherwise, false.

Examples
var length1 = new Length("2in");
var length2 = new Length("1in");
bool result = length1 > length2; // true