GraphicsUnitConverter.PixelToDoc(Single) Method
Converts the floating-point value calculated in pixels to a value calculated in document units (measured in 1/300 of an inch).
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Data.v24.1.dll
NuGet Package: DevExpress.Data
Declaration
Parameters
Name | Type | Description |
---|---|---|
val | Single | A Single value. |
Returns
Type | Description |
---|---|
Single | A Single value. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PixelToDoc(Single) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
See Also