[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Length.op_Addition

operator + Operator

operator +(Length, Length)

Adds two Length values and returns the result in the unit of the first length.

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

A first Length value.

Length unit2

A second Length value.

Returns
Type Description
Length

A new Length value representing the sum of the two lengths.

Examples
var length1 = new Length("1in");
var length2 = new Length("2in");
var result = length1 + length2; // 3in