Skip to main content

UnitConverter Members

Contains methods that allow you to convert different units of measurement.

Methods

Name Description
CentimetersToTwips(Single) static Converts a value from centimeters to twips.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
InchesToTwips(Single) static Converts a value from inches to twips.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
PixelsToCentimeters(Int32) static Converts a value from pixels to centimeters.
PixelsToInches(Int32) static Converts a value from pixels to inches.
PixelsToPoints(Int32) static Converts a value from pixels to points.
PixelsToTwips(Int32) static Converts a value from pixels to twips.
PointsToTwips(Single) static Converts a value points to twips.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
TwipsToCentimeters(Int32) static Converts a value from twips to centimeters.
TwipsToInches(Int32) static Converts a value from twips to inches.
TwipsToPoints(Int32) static Converts a value from twips to points.
See Also