Skip to main content

XClosedCaptionProperties

Describes the closed caption properties.

Syntax

Members

BackgroundColor
Type: XColor
The color of the closed caption background. FontColor
Type: XColor
The color of the closed caption text font. WindowColor
Type: XColor
The color of the closed caption window. FontEdgeAttribute
Type: XClosedCaptionFontEdgeAttribute
The font edge attribute of the closed caption text. FontStyle
Type: XClosedCaptionFontStyle
The font style of the closed caption text. FontScale
Type: float
The font scale of the closed caption text. Enabled
Type: bool
True if closed captioning is enabled, false otherwise.

Remarks

To retrieve the current closed caption properties, call the XClosedCaptionGetProperties function. The XClosedCaptionGetProperties function takes a pointer to a XClosedCaptionProperties structure as an argument. The following example demonstrates how to retrieve the closed caption properties.

Requirements

Header: XAccessibility.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

XAccessibility XClosedCaptionFontEdgeAttribute XClosedCaptionFontStyle XClosedCaptionGetProperties
Last modified on August 20, 2026