Subtract one Unit from another.

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

Syntax

public static Unit operator -(
	Unit unit1,
	Unit unit2
)

Parameters

unit1
Type: Telerik.Reporting.DrawingUnit
The Unit to subtract from.
unit2
Type: Telerik.Reporting.DrawingUnit
The Unit to subtract.

Return Value

Type: Unit
The difference of the two units.

Exceptions

ExceptionCondition
ArgumentException Thrown when unit1 is empty.

Remarks

If unit2 is empty the method returns unit1. Otherwise, the method returns the difference of the two units in unit1's type.

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?