# Enum.DisplaySize

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/DisplaySize/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/DisplaySize

This enum is used with [`GuiService.ViewportDisplaySize`](https://rapi.sleaze.dev/classes/GuiService.md) to indicate the internally-categorized rendering size of the viewport.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Small` | 0 | Viewport is categorized as small. Applies to most tablet/mobile/handheld devices. |
| `Medium` | 1 | Viewport is categorized as medium. Applies to most laptops and monitors. |
| `Large` | 2 | Viewport is categorized as large. Applies to most TVs or larger. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [GuiService](https://rapi.sleaze.dev/classes/GuiService.md): property `ViewportDisplaySize`
- [StyleQuery](https://rapi.sleaze.dev/classes/StyleQuery.md): property `ViewportDisplaySize`
