Progress® Telerik® Reporting R1 2021
Unit Methods
The Unit type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Add(Unit) |
Adds a unit to this Unit.
|
![]() ![]() | Add(Unit, Unit) |
Returns a Unit that is the
sum of two units and its unit type matches the first argument type.
|
![]() ![]() | Add(Unit, Unit, UnitType) | Obsolete.
Returns a Unit that is the
sum of two units and is of the specified type.
|
![]() | ChangeType |
Returns a unit equal by magnitude to this
Unit but with its type
changed.
|
![]() ![]() | Cm(Double) |
Creates a new Unit
of type UnitType.Cm
and magnitude equal to value.
|
![]() ![]() | Cm(Int32) |
Creates a new Unit
of type UnitType.Cm
and magnitude equal to value.
|
![]() | CompareTo(Object) | |
![]() | CompareTo(Unit) | |
![]() | Divide(Double) |
Divides this Unit by a
specified value.
|
![]() | Divide(Unit) |
Divides this Unit by another.
|
![]() | Equals |
Tests whether obj is a
Unit that equals this
Unit.
(Overrides ValueTypeEquals(Object).) |
![]() ![]() | FromDips |
Creates a unit from device-independent pixels in the specified unit type.
|
![]() ![]() | FromPixels |
Creates a unit from device-dependent pixels in the specified unit type.
|
![]() | GetHashCode |
Returns a hash code for this
Unit structure.
(Overrides ValueTypeGetHashCode.) |
![]() ![]() | Inch(Double) |
Creates a new Unit
of type UnitType.Inch
and magnitude equal to value.
|
![]() ![]() | Inch(Int32) |
Creates a new Unit
of type UnitType.Inch
and magnitude equal to value.
|
![]() ![]() | Max |
Returns the larger of two units.
|
![]() ![]() | Min |
Returns the smaller of two units.
|
![]() ![]() | Mm(Double) |
Creates a new Unit
of type UnitType.Mm
and magnitude equal to value.
|
![]() ![]() | Mm(Int32) |
Creates a new Unit
of type UnitType.Mm
and magnitude equal to value.
|
![]() | Multiply |
Multiplies this Unit by a
specified value.
|
![]() ![]() | Parse(String) |
Parses a string value to create a new Unit.
|
![]() ![]() | Parse(String, CultureInfo) |
Parses a string value to create a new Unit based on the
specified culture.
|
![]() ![]() | Pica(Double) |
Creates a new Unit
of type UnitType.Pica
and magnitude equal to value.
|
![]() ![]() | Pica(Int32) |
Creates a new Unit
of type UnitType.Pica
and magnitude equal to value.
|
![]() ![]() | Pixel(Double) |
Creates a new Unit
of type UnitType.Pixel and magnitude equal to value in device-independent pixels.
|
![]() ![]() | Pixel(Int32) |
Creates a new Unit
of type UnitType.Pixel
and magnitude equal to value in device-independent pixels.
|
![]() ![]() | Point(Double) |
Creates a new Unit
of type UnitType.Point
and magnitude equal to value.
|
![]() ![]() | Point(Int32) |
Creates a new Unit
of type UnitType.Point
and magnitude equal to value.
|
![]() | Subtract(Unit) |
Subtracts a unit from this
Unit.
|
![]() ![]() | Subtract(Unit, Unit) |
Returns a Unit that is the
difference of two units and is of the specified type.
|
![]() ![]() | Subtract(Unit, Unit, UnitType) | Obsolete.
Returns a Unit that is the
difference of two units and is of the specified type.
|
![]() | ToString |
Returns a human-readable representation of this
Unit.
(Overrides ValueTypeToString.) |
![]() | ToString(CultureInfo) |
Returns a human-readable representation of this
Unit.
|