DisplayService is static class providing methods to getting display attributes such as size and dpi scale.
More...
DisplayService is static class providing methods to getting display attributes such as size and dpi scale.
◆ GetDisplayDpiScale()
static Scale SpaceVIL.Common.DisplayService.GetDisplayDpiScale |
( |
| ) |
|
|
static |
◆ GetDisplayHeight()
static int SpaceVIL.Common.DisplayService.GetDisplayHeight |
( |
| ) |
|
|
static |
Getting the current display height.
- Returns
- The current display height as System.Int32.
◆ GetDisplayWidth()
static int SpaceVIL.Common.DisplayService.GetDisplayWidth |
( |
| ) |
|
|
static |
Getting the current display width.
- Returns
- The current display width as System.Int32.
◆ GetWindowDpiScale()
static Scale SpaceVIL.Common.DisplayService.GetWindowDpiScale |
( |
CoreWindow |
window | ) |
|
|
static |
Getting the current window scale.
- Parameters
-
- Returns
- The current window scale as SpaceVIL.Core.Scale.
The documentation for this class was generated from the following file: