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

# XClosedCaptionProperties

> XClosedCaptionProperties

# XClosedCaptionProperties

폐쇄 자막 속성을 설명합니다.

## 구문

```cpp theme={null}
typedef struct XClosedCaptionProperties {  
    XColor BackgroundColor;  
    XColor FontColor;  
    XColor WindowColor;  
    XClosedCaptionFontEdgeAttribute FontEdgeAttribute;  
    XClosedCaptionFontStyle FontStyle;  
    float FontScale;  
    bool Enabled;  
} XClosedCaptionProperties  
```

### 멤버

*BackgroundColor*\
형식: XColor

폐쇄 자막 배경의 색상입니다.

*FontColor*\
형식: XColor

폐쇄 자막 텍스트 글꼴의 색상입니다.

*WindowColor*\
형식: XColor

폐쇄 자막 창의 색상입니다.

*FontEdgeAttribute*\
형식: [XClosedCaptionFontEdgeAttribute](https://docs.xbox.com/ko/reference/system/xaccessibility/enums/xclosedcaptionfontedgeattribute.md)

폐쇄 자막 텍스트의 글꼴 가장자리 특성입니다.

*FontStyle*\
형식: [XClosedCaptionFontStyle](https://docs.xbox.com/ko/reference/system/xaccessibility/enums/xclosedcaptionfontstyle.md)

폐쇄 자막 텍스트의 글꼴 스타일입니다.

*FontScale*\
형식: float

폐쇄 자막 텍스트의 글꼴 배율입니다.

*Enabled*\
형식: bool

폐쇄 자막이 활성화된 경우 true, 그렇지 않은 경우 false입니다.

## 설명

현재 폐쇄 자막 속성을 검색하려면 [XClosedCaptionGetProperties](https://docs.xbox.com/ko/reference/system/xaccessibility/functions/xclosedcaptiongetproperties.md) 함수를 호출합니다.
[XClosedCaptionGetProperties](https://docs.xbox.com/ko/reference/system/xaccessibility/functions/xclosedcaptiongetproperties.md) 함수는 **XClosedCaptionProperties** 구조체에 대한 포인터를 인수로 받습니다.

다음 예제는 폐쇄 자막 속성을 검색하는 방법을 보여줍니다.

```cpp theme={null}
XClosedCaptionProperties ccProperties;
if (SUCCEEDED(XClosedCaptionGetProperties(&ccProperties))
{
    // 이제 게임 타이틀은 ccProperties 구조체에서 색상 및 글꼴 설정에 액세스할 수 있습니다.
}
```

## 요구 사항

**헤더:** XAccessibility.h

**지원 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 함께 보기

[XAccessibility](https://docs.xbox.com/ko/reference/system/xaccessibility/xaccessibility_members.md)

[XClosedCaptionFontEdgeAttribute](https://docs.xbox.com/ko/reference/system/xaccessibility/enums/xclosedcaptionfontedgeattribute.md)

[XClosedCaptionFontStyle](https://docs.xbox.com/ko/reference/system/xaccessibility/enums/xclosedcaptionfontstyle.md)

[XClosedCaptionGetProperties](https://docs.xbox.com/ko/reference/system/xaccessibility/functions/xclosedcaptiongetproperties.md)


## Related topics

- [XClosedCaptionGetProperties](https://docs.xbox.com/ko/reference/system/xaccessibility/functions/xclosedcaptiongetproperties.md)
- [XClosedCaptionFontStyle](https://docs.xbox.com/ko/reference/system/xaccessibility/enums/xclosedcaptionfontstyle.md)
- [XClosedCaptionFontEdgeAttribute](https://docs.xbox.com/ko/reference/system/xaccessibility/enums/xclosedcaptionfontedgeattribute.md)
- [XClosedCaptionSetEnabled](https://docs.xbox.com/ko/reference/system/xaccessibility/functions/xclosedcaptionsetenabled.md)
- [XColor](https://docs.xbox.com/ko/reference/system/xgameruntimetypes/structs/xcolor.md)
