Progress® Telerik® Reporting R3 2021

Unit.Subtract Method (Unit, Unit, UnitType)

Note: This API is now obsolete.

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

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


[ObsoleteAttribute("Use Telerik.Reporting.Drawing.Subtract(Unit, Unit) and Telerik.Reporting.Drawing.ChangeType(UnitType) instead.")]
public static Unit Subtract(
	Unit unit1,
	Unit unit2,
	UnitType type


Type: Telerik.Reporting.DrawingUnit
The Unit to subtract from.
Type: Telerik.Reporting.DrawingUnit
The Unit to subtract.
Type: Telerik.Reporting.DrawingUnitType
A UnitType specifying the type of the resultant unit.

Return Value

Type: Unit
The difference of the two units in the specified unit type.

Version Information

Obsolete (compiler warning) in 1.0.1

See Also

In this article
Not finding the help you need?