MeasureUnits.FromPixels(MeasureUnit, Double) Method
Converts the value in pixels to the value in the unit of measure.
Namespace: DevExpress.Diagram.Core
Assembly: DevExpress.Diagram.v25.1.Core.dll
NuGet Package: DevExpress.Diagram.Core
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| unit | MeasureUnit | A unit of measure for the desired value. |
| value | Double | A value to convert. |
Returns
| Type | Description |
|---|---|
| Double | The value in the unit of measure. |
See Also