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

指定隱藏式字幕文字的邊緣樣式。

## 語法

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

## 常數

| 常數 | 描述 |
| - | - |
| Default | 隱藏式字幕文字周圍會顯示預設樣式的邊緣/陰影。 |
| NoEdgeAttribute | 隱藏式字幕文字周圍不會顯示邊緣/陰影。 |
| RaisedEdges | 隱藏式字幕文字周圍會顯示凸起的邊緣/陰影。 |
| DepressedEdges | 隱藏式字幕文字周圍會顯示凹陷的邊緣/陰影。 |
| UniformedEdges | 隱藏式字幕文字周圍會顯示均勻的邊緣/陰影。 |
| DropShadowedEdges | 隱藏式字幕文字周圍會顯示下拉陰影的邊緣/陰影。 |

## 備註

您可以呼叫 [XClosedCaptionGetProperties](/zh-TW/reference/system/xaccessibility/functions/xclosedcaptiongetproperties) 函式來擷取目前的隱藏式字幕屬性。
[XClosedCaptionGetProperties](/zh-TW/reference/system/xaccessibility/functions/xclosedcaptiongetproperties) 函式會接受指向 [XClosedCaptionProperties](/zh-TW/reference/system/xaccessibility/structs/xclosedcaptionproperties) 結構的指標作為引數。
**XClosedCaptionFontEdgeAttribute** 列舉是 [XClosedCaptionProperties](/zh-TW/reference/system/xaccessibility/structs/xclosedcaptionproperties) 結構的成員。

## 需求

**標頭：** XAccessibility.h

**支援的平台：** Windows、XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[XAccessibility](/zh-TW/reference/system/xaccessibility/xaccessibility_members)

[XClosedCaptionGetProperties](/zh-TW/reference/system/xaccessibility/functions/xclosedcaptiongetproperties)

[XClosedCaptionProperties](/zh-TW/reference/system/xaccessibility/structs/xclosedcaptionproperties)


## Related topics

- [XClosedCaptionFontEdgeAttribute](/reference/system/xaccessibility/enums/xclosedcaptionfontedgeattribute.md)
- [XClosedCaptionProperties](/reference/system/xaccessibility/structs/xclosedcaptionproperties.md)
