名前 | 解説 | |
---|---|---|
Unit コンストラクタ | オーバーロードされます。 |
Unitデータ型で公開されるメンバを以下の表に示します。
名前 | 解説 | |
---|---|---|
Unit コンストラクタ | オーバーロードされます。 |
名前 | 解説 | |
---|---|---|
Auto | Gets a Unit representing an "auto" value. | |
BoldLineWidth | Gets a Unit value representing the default "bold" line thickness (2 points wide). | |
Empty | Gets a Unit representing an emtpy (zero) value. | |
IsAbs | Gets a value indicating whether the current unit represents an absolute value (such as "1mm", "2in", "3em" and so on). | |
IsAuto | Gets a value indicating whether the current unit represents an "auto" value. | |
IsEmpty | Gets a value indicating whether the current unit represents an empty value. | |
IsParent | Gets a value indicating whether the current unit is specified as "parent". | |
IsParentHeight | Gets a value indicating whether the current unit is specified as "parent.height". | |
IsParentWidth | Gets a value indicating whether the current unit is specified as "parent.width". | |
LineWidth | Gets a Unit value representing the default line thickness (1 point wide). | |
Units | Gets the unit of measurement of the current unit. | |
Value | Gets the absolute value of the current unit (in Unit.Units). |
名前 | 解説 | |
---|---|---|
ConvertUnit | オーバーロードされます。 Attempts to convert the current unit value to other unit of measurement.
Only absolute units can be converted. This method throws an exception if the conversion cannot be performed. | |
Equals | Compares the current unit value with another object. | |
FromObject | Attempts to convert an object to a unit value. This method throws an exception if the conversion cannot be performed. | |
GetHashCode | Gets the hash code for the current unit value. | |
ToString | Returns a string that represents the current object. |
等価判定演算子 | Tests whether the two unit values are equal. |
暗黙的 キャスト 演算子 | オーバーロードされます。 Returns the absolute value of a Unit expressed in UnitTypeEnum.Default units.
Throws exception if the operation cannot be performed. |
等しくないか判定する演算子 | Tests whether the two unit values are not equal. |