> ## 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.

# XClosedCaptionFontEdgeAttribute

> XClosedCaptionFontEdgeAttribute

# XClosedCaptionFontEdgeAttribute

Specifies the edge style of the closed caption text.

## Syntax

```cpp theme={null}
enum class XClosedCaptionFontEdgeAttribute  : uint32_t  
{  
    Default = 0,  
    NoEdgeAttribute = 1,  
    RaisedEdges = 2,  
    DepressedEdges = 3,  
    UniformedEdges = 4,  
    DropShadowedEdges = 5  
}  
```

## Constants

| Constant          | Description                                                    |
| ----------------- | -------------------------------------------------------------- |
| Default           | Default style edges/shadows appear around closed caption text. |
| NoEdgeAttribute   | No edges/shadows appear around closed caption text.            |
| RaisedEdges       | Raised edges/shadows appear around closed caption text.        |
| DepressedEdges    | Depressed edges/shadows appear around closed caption text.     |
| UniformedEdges    | Uniform edges/shadows appear around closed caption text.       |
| DropShadowedEdges | Drop shadowed edges/shadows appear around closed caption text. |

## 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 **XClosedCaptionFontEdgeAttribute** 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)
- [XClosedCaptionFontStyle](/reference/system/xaccessibility/enums/xclosedcaptionfontstyle.md)
- [PAGE 103 · Accessible social media for gaming events](/build/game-principles/accessibility/page/page-103-social-media.md)
- [XClosedCaptionGetProperties](/reference/system/xaccessibility/functions/xclosedcaptiongetproperties.md)
