Units.PixelsToDocuments(Size, Single, Single) Method
Converts a size in pixels to a size in document units, using the specified horizontal and vertical DPI values.
Namespace: DevExpress.Office.Utils
Assembly: DevExpress.Office.v26.1.Core.dll
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| size | Size | A size in pixels. |
| dpiX | Single | The horizontal DPI value. |
| dpiY | Single | The vertical DPI value. |
Returns
| Type | Description |
|---|---|
| Size | The size converted to document units. |
See Also