ExcelUnitsConverter Class

Utility class to convert between various Excel measurement units (points, pixels, width characters)

Definition

Namespace: Winnovative.ExcelLib
Assembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
C#
public class ExcelUnitsConverter
Inheritance
Object    ExcelUnitsConverter

Constructors

ExcelUnitsConverter Builds a UnitsConverter object

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
PixelsToPoints Converts pixels to points. A point is 1/72 inch.
PixelsToWidthChars Converts pixels to width characters. A value in width characters represents the number of characters that can be displayed in a cell that is formatted with the standard font.
PointsToPixels Converts points to pixels. A point is 1/72 inch.
ToString
(Inherited from Object)
WidthCharsToPixels Converts width characters in pixels. A value in width characters represents the number of characters that can be displayed in a cell that is formatted with the standard font.

See Also