[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Length.op_LessThan

operator < Operator

operator <(Length, Length)

Determines if the first Length value is less 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 less than the second; otherwise, false.

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