Will return a size object (width and height) adjusted to the current scaling factor
Pass in the base width and height and this function will convert to the display scaling factor
Pass in the base width and height and this function will convert to the display scaling factor
Namespace: Stator.libPublic.Utilities
Assembly: libPublic (in libPublic.dll) Version: 4.0.2018.0 (4.0.18103)
Syntax
Parameters
- width
- Type: SystemInt32
The width to scale - height
- Type: SystemInt32
The height to scale
Return Value
Type: SizeA size object (width, height) adjusted for the device scale factor.
See Also