ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Length Structure / Addition Operator
A first Length value.
A second Length value.
Example

In This Topic
    Addition Operator (Length)
    In This Topic
    Adds two Length values and returns the result in the unit of the first length.
    Syntax
    'Declaration
     
    Public Operator +( _
       ByVal unit1 As Length, _
       ByVal unit2 As Length _
    ) As Length
    public Length operator +( 
       Length unit1,
       Length unit2
    )

    Parameters

    unit1
    A first Length value.
    unit2
    A second Length value.

    Return Value

    A new Length value representing the sum of the two lengths.
    Example
    var length1 = new Length("1in");
    var length2 = new Length("2in");
    var result = length1 + length2; // 3in
    See Also