Click or drag to resize
UnitHelper Class
Provides methods for conversion between units.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Documents.Spreadsheet.UtilitiesUnitHelper

Namespace: Telerik.Windows.Documents.Spreadsheet.Utilities
Assembly: Telerik.Windows.Documents.Spreadsheet (in Telerik.Windows.Documents.Spreadsheet.dll) Version: 2017.2.607.40 (2017.2.607.40)
Syntax
public static class UnitHelper

The UnitHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCmToDip
Converts centimeters to dips.
Public methodStatic memberDipToCm
Converts dips to centimeters.
Public methodStatic memberDipToEmu
Converts dips to EMUs.
Public methodStatic memberDipToInch
Converts dips to inches.
Public methodStatic memberDipToMm
Converts dips to milimeters.
Public methodStatic memberDipToPica
Converts dips to picas.
Public methodStatic memberDipToPoint
Converts dips to points.
Public methodStatic memberDipToPointI
Converts dips to points.
Public methodStatic memberDipToTwip
Converts dips to twips.
Public methodStatic memberDipToTwipF
Converts dips to twips.
Public methodStatic memberDipToTwipI
Converts dips to twips.
Public methodStatic memberDipToUnit
Converts DIPs to units.
Public methodStatic memberEmuToDip
Converts EMUs to dips.
Public methodStatic memberExcelColumnWidthToPixelWidth
Converts excel column width to pixels width.
Public methodStatic memberInchToDip
Converts inches to dips.
Public methodStatic memberMmToDip
Converts milimeteres to dips.
Public methodStatic memberPicaToDip
Converts to points dips.
Public methodStatic memberPixelWidthToExcelColumnWidth
Converts column width in pixels to excel column width.
Public methodStatic memberPointToDip
Converts points to dips.
Public methodStatic memberTwipToDip
Converts twips to dips.
Public methodStatic memberTwipToDipF
Converts twips to dips.
Public methodStatic memberTwipToDipI
Converts twips to dips.
Public methodStatic memberUnitToDip
Converts Units to dips.
Top
See Also