Units.PixelsToHundredthsOfInch(Int32, Single) Method
Converts a value in pixels to hundredths of an inch, using the specified DPI value.
Namespace: DevExpress.Office.Utils
Assembly: DevExpress.Office.v26.1.Core.dll
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| val | Int32 | A value in pixels. |
| dpi | Single | The DPI value to use for the conversion. |
Returns
| Type | Description |
|---|---|
| Int32 | The value converted to hundredths of an inch. |
See Also