> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XClosedCaptionFontStyle

> XClosedCaptionFontStyle

# XClosedCaptionFontStyle

Specifies the font style of the closed caption text.

## Syntax

```cpp theme={null}
enum class XClosedCaptionFontStyle  : uint32_t  
{  
    Default = 0,  
    MonospacedWithSerifs = 1,  
    ProportionalWithSerifs = 2,  
    MonospacedWithoutSerifs = 3,  
    ProportionalWithoutSerifs = 4,  
    Casual = 5,  
    Cursive = 6,  
    SmallCapitals = 7  
}  
```

## Constants

| Constant                  | Description                                                                |
| ------------------------- | -------------------------------------------------------------------------- |
| Default                   | Closed captioned text uses the default font style.                         |
| MonospacedWithSerifs      | Closed captioned text uses the monospaced font style with serifs.          |
| ProportionalWithSerifs    | Closed captioned text uses the proportional spaced font style with serifs. |
| MonospacedWithoutSerifs   | Closed captioned text uses the monospaced font style without serifs.       |
| ProportionalWithoutSerifs | Closed captioned text uses the proportional font style without serifs.     |
| Casual                    | Closed captioned text uses the casual font style with serifs.              |
| Cursive                   | Closed captioned text uses the cursive font style.                         |
| SmallCapitals             | Closed captioned text uses the small capitals font style.                  |

## Remarks

You can retrieve the current closed caption properties by calling the [XClosedCaptionGetProperties](/reference/system/xaccessibility/functions/xclosedcaptiongetproperties) function.
The [XClosedCaptionGetProperties](/reference/system/xaccessibility/functions/xclosedcaptiongetproperties) function takes a pointer to a [XClosedCaptionProperties](/reference/system/xaccessibility/structs/xclosedcaptionproperties) structure as an argument.
The **XClosedCaptionFontStyle** enumeration is a member of the [XClosedCaptionProperties](/reference/system/xaccessibility/structs/xclosedcaptionproperties) structure.

## Requirements

**Header:** XAccessibility.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[XAccessibility](/reference/system/xaccessibility/xaccessibility_members)

[XClosedCaptionGetProperties](/reference/system/xaccessibility/functions/xclosedcaptiongetproperties)

[XClosedCaptionProperties](/reference/system/xaccessibility/structs/xclosedcaptionproperties)


## Related topics

- [XClosedCaptionProperties](/reference/system/xaccessibility/structs/xclosedcaptionproperties.md)
- [XAccessibility](/reference/system/xaccessibility/xaccessibility_members.md)
- [XClosedCaptionFontEdgeAttribute](/reference/system/xaccessibility/enums/xclosedcaptionfontedgeattribute.md)
- [PAGE 103 · Accessible social media for gaming events](/build/game-principles/accessibility/page/page-103-social-media.md)
- [XHighContrastMode](/reference/system/xaccessibility/enums/xhighcontrastmode.md)
