Click or drag to resize

ExcelUnitsConverter Class

Utility class to convert between various Excel measurement units (points, pixels, width characters)
Inheritance Hierarchy
SystemObject
  ExpertXls.ExcelLibExcelUnitsConverter

Namespace: ExpertXls.ExcelLib
Assembly: expertxls (in expertxls.dll) Version: 9.0.0
Syntax
public class ExcelUnitsConverter

The ExcelUnitsConverter type exposes the following members.

Constructors
 NameDescription
Public methodExcelUnitsConverter Builds a UnitsConverter object
Top
Methods
 NameDescription
Public methodPixelsToPoints Converts pixels to points. A point is 1/72 inch.
Public methodPixelsToWidthChars 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.
Public methodPointsToPixels Converts points to pixels. A point is 1/72 inch.
Public methodWidthCharsToPixels 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.
Top
See Also