Progress® Telerik® Reporting R3 2017

Unit Methods

The Unit type exposes the following members.

Methods

  NameDescription
Public methodAdd(Unit)
Adds a unit to this Unit.
Public methodStatic memberAdd(Unit, Unit)
Returns a Unit that is the sum of two units and its unit type matches the first argument type.
Public methodStatic memberAdd(Unit, Unit, UnitType)Obsolete.
Returns a Unit that is the sum of two units and is of the specified type.
Public methodChangeType
Returns a unit equal to this Unit but with its type changed.
Public methodStatic memberCm(Double)
Creates a new Unit of type UnitType.Cm and magnitude equal to value.
Public methodStatic memberCm(Int32)
Creates a new Unit of type UnitType.Cm and magnitude equal to value.
Public methodCompareTo(Object)
Public methodCompareTo(Unit)
Public methodDivide(Double)
Divides this Unit by a specified value.
Public methodDivide(Unit)
Divides this Unit by another.
Public methodEquals
Tests whether obj is a Unit that equals this Unit.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberFromPixels
Public methodGetHashCode
Returns a hash code for this Unit structure.
(Overrides ValueTypeGetHashCode.)
Public methodStatic memberInch(Double)
Creates a new Unit of type UnitType.Inch and magnitude equal to value.
Public methodStatic memberInch(Int32)
Creates a new Unit of type UnitType.Inch and magnitude equal to value.
Public methodStatic memberMax
Returns the larger of two units.
Public methodStatic memberMin
Returns the smaller of two units.
Public methodStatic memberMm(Double)
Creates a new Unit of type UnitType.Mm and magnitude equal to value.
Public methodStatic memberMm(Int32)
Creates a new Unit of type UnitType.Mm and magnitude equal to value.
Public methodMultiply
Multiplies this Unit by a specified value.
Public methodStatic memberParse(String)
Parses a string value to create a new Unit.
Public methodStatic memberParse(String, CultureInfo)
Parses a string value to create a new Unit based on the specified culture.
Public methodStatic memberPica(Double)
Creates a new Unit of type UnitType.Pica and magnitude equal to value.
Public methodStatic memberPica(Int32)
Creates a new Unit of type UnitType.Pica and magnitude equal to value.
Public methodStatic memberPixel(Double)
Creates a new Unit of type UnitType.Pixel and magnitude equal to value.
Public methodStatic memberPixel(Int32)
Creates a new Unit of type UnitType.Pixel and magnitude equal to value.
Public methodStatic memberPoint(Double)
Creates a new Unit of type UnitType.Point and magnitude equal to value.
Public methodStatic memberPoint(Int32)
Creates a new Unit of type UnitType.Point and magnitude equal to value.
Public methodSubtract(Unit)
Subtracts a unit from this Unit.
Public methodStatic memberSubtract(Unit, Unit)
Returns a Unit that is the difference of two units and is of the specified type.
Public methodStatic memberSubtract(Unit, Unit, UnitType)Obsolete.
Returns a Unit that is the difference of two units and is of the specified type.
Public methodToString
Returns a human-readable representation of this Unit.
(Overrides ValueTypeToString.)
Public methodToString(CultureInfo)
Returns a human-readable representation of this Unit.
Top

See Also