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

# 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](/reference/system/xaccessibility/enums/xclosedcaptionfontedgeattribute)

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

*FontStyle*\
형식: [XClosedCaptionFontStyle](/reference/system/xaccessibility/enums/xclosedcaptionfontstyle)

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

*FontScale*\
형식: float

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

*Enabled*\
형식: bool

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

## 설명

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

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

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

## 요구 사항

**헤더:** XAccessibility.h

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

## 함께 보기

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

[XClosedCaptionFontEdgeAttribute](/reference/system/xaccessibility/enums/xclosedcaptionfontedgeattribute)

[XClosedCaptionFontStyle](/reference/system/xaccessibility/enums/xclosedcaptionfontstyle)

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


## Related topics

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