Progress® Telerik® Reporting R2 2018

UnitSubtraction Operator

Subtract one Unit from another.

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

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.

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy