# Display

**Kind**: interface | **Module**: [Displays](https://docs.interop.io/desktop/reference/javascript/displays/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/displays/display/index.html

Describes a display.

## Properties

- **`aspectRatio`** (`string`, required)
  Aspect ratio of the display (e.g., 16:9).
- **`bounds`** (`Bounds`, required)
  Bounds of the display in logical coordinates (width, height, left, and top).
- **`capture`** (`(size: ScaleOptions | AbsoluteSizeOptions) => Promise<string>`, required)
  Captures a screenshot of the current display.
- **`displayScaleFactor`** (`number`, required) *(since io.Connect Desktop 10.3, @interopio/desktop 6.21.0)*
  Actual display scale factor set by the user in the display settings.
- **`dpi`** (`number`, required)
  Display resolution.
- **`electronBounds`** (`Bounds`, required) *(since io.Connect Desktop 10.2, @interopio/desktop 6.20.0)*
  Bounds of the display in Electron DIP coordinates.
- **`electronId`** (`number`, required) *(since io.Connect Desktop 10.2, @interopio/desktop 6.20.0)*
  The Electron internal display ID.
- **`electronWorkArea`** (`Bounds`, required) *(since io.Connect Desktop 10.2, @interopio/desktop 6.20.0)*
  The working area of the display in Electron DIP coordinates.
- **`id`** (`number`, required)
  Unique identifier associated with the display.
- **`index`** (`number`, required)
  Index assigned to the display by the operating system.
- **`isPrimary`** (`boolean`, required)
  If `true`, this is the primary display.
- **`name`** (`string`, required)
  Name assigned to the display by the operating system.
- **`scaleFactor`** (`number`, required)
  The logical scale factor of the display.
- **`screenBounds`** (`Bounds`, required) *(since io.Connect Desktop 10.2, @interopio/desktop 6.20.0)*
  Bounds of the display in physical screen pixels.
- **`screenScaleFactor`** (`number`, required) *(since io.Connect Desktop 10.2, @interopio/desktop 6.20.0)*
  The effective scale factor for this display. It can be different from `displayScaleFactor` if the text scale factor is applied for the user interface.
- **`screenWorkArea`** (`Bounds`, required) *(since io.Connect Desktop 10.2, @interopio/desktop 6.20.0)*
  The working area of the display in physical screen pixels.
- **`workArea`** (`Bounds`, required)
  The working area of the display in logical coordinates.

## Related types

- [AbsoluteSizeOptions](https://docs.interop.io/desktop/reference/javascript/displays/absolutesizeoptions/index.md)
- [Bounds](https://docs.interop.io/desktop/reference/javascript/displays/bounds/index.md)
- [ScaleOptions](https://docs.interop.io/desktop/reference/javascript/displays/scaleoptions/index.md)
