Click or drag to resize

ChangeableRelativePercentUnit Class

Special case of ChangeableRelativeUnit which represents 'percent of some quantity'.
Inheritance Hierarchy
SystemObject
  Altaxo.UnitsChangeableRelativeUnit
    Altaxo.UnitsChangeableRelativePercentUnit

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class ChangeableRelativePercentUnit : ChangeableRelativeUnit

The ChangeableRelativePercentUnit type exposes the following members.

Constructors
 NameDescription
Public methodChangeableRelativePercentUnitInitializes a new instance of the ChangeableRelativePercentUnit class.
Top
Properties
 NameDescription
Public propertyNameFull name of the unit.
(Inherited from ChangeableRelativeUnit)
Public propertyPrefixesReturns a list of possible prefixes for this unit (like µ, m, k, M, G..).
(Inherited from ChangeableRelativeUnit)
Public propertyReferenceQuantityThe corresponding quantity that this unit encapsulates.
(Inherited from ChangeableRelativeUnit)
Public propertyShortCutUsual shortcut of the unit.
(Inherited from ChangeableRelativeUnit)
Public propertySIUnitReturns the corresponding SI unit.
(Inherited from ChangeableRelativeUnit)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFromSIUnitConverts x (in SI units) to the corresponding value in this unit.
(Inherited from ChangeableRelativeUnit)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetRelativeValueFromValue Calculated the dimensionless prefactor to multiply the ReferenceQuantity with. Example: Given that the relative unit is 'percent of page with', a value of x=5 is converted to 0.05. The result can then be used to calculate the absolute quantity by multiplying the result of 0.05 with the 'page with'.
(Inherited from ChangeableRelativeUnit)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToSIUnitConverts x to the corresponding SI unit.
(Inherited from ChangeableRelativeUnit)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_divider
(Inherited from ChangeableRelativeUnit)
Top
See Also