Converts between various graphic units (pixels, points, etc).
| C# | Visual Basic | Visual C++ |
public class UnitsConverter
Public Class UnitsConverter
public ref class UnitsConverter
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| UnitsConverter()()()() | ||
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(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.) | |
| PixelsToPoints(Single) |
Converts from pixels to points. The result of this method takes into account the
current screen resolution.
| |
| PointsToPixels(Single) |
Converts from points to pixels. The result of this method takes into account the
current screen resolution.
| |
| ToString()()()() | (Inherited from Object.) |
| Object | |
| UnitsConverter | |