Utility class to convert between various Excel measurement units (points, pixels, width characters)
| C# | Visual Basic | Visual C++ |
public class ExcelUnitsConverter
Public Class ExcelUnitsConverter
public ref class ExcelUnitsConverter
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| ExcelUnitsConverter(ExcelWorkbook) |
Builds a UnitsConverter object
| |
| 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(Double) |
Converts pixels to points. A point is 1/72 inch.
| |
| PixelsToWidthChars(Double) |
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(Double) |
Converts points to pixels. A point is 1/72 inch.
| |
| ToString()()() | (Inherited from Object.) | |
| WidthCharsToPixels(Double) |
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.
|
| Object | |
| ExcelUnitsConverter | |