Progress® Telerik® Reporting R3 2017

UnitAdd Method (Unit, Unit, UnitType)

Note: This API is now obsolete.

Returns a Unit that is the sum of two units and is of the specified type.

Namespace:  Telerik.Reporting.Drawing
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

[ObsoleteAttribute("Use Add(unit1, unit2) and ChangeType(type) instead.")]
public static Unit Add(
	Unit unit1,
	Unit unit2,
	UnitType type
)

Parameters

unit1
Type: Telerik.Reporting.DrawingUnit
The first Unit.
unit2
Type: Telerik.Reporting.DrawingUnit
The second Unit.
type
Type: Telerik.Reporting.DrawingUnitType
A UnitType specifying the type of the resultant unit.

Return Value

Type: Unit
The sum of the two units.

See Also