Length |
public class LengthUnit
The LengthUnit type exposes the following members.
| Name | Description | |
|---|---|---|
| Centimeter | Gets the centimeter unit. | |
| Inch | Gets the inch unit. | |
| Mil | Gets the mil unit. | |
| Millimeter | Gets the millimeter unit. | |
| Name | Gets the display name of the unit. | |
| Point | Gets the typographic point unit. | |
| Shortcut | Gets the shortcut of the unit. | |
| Shortcuts | Gets the list of recognized unit shortcuts. | |
| UnitInMeter | Gets the size of the unit in meters. |
| Name | Description | |
|---|---|---|
| ConvertFrom | Converts a length value from the specified source unit into this unit. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FromShortcut | Gets a length unit from its shortcut. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TryParse | Parse a string that ends with a length unit to return the length unit. The string is trimmed at the end before use. |