ClosedCaptionProperties
ClosedCaptionProperties
ClosedCaptionProperties
ClosedCaptionProperties
Class
Definition
Exposes properties for retrieving the closed caption formatting settings that the user can set through the system's closed captioning settings page.
public : static class ClosedCaptionPropertiespublic static class ClosedCaptionPropertiesPublic Static Class ClosedCaptionProperties// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
BackgroundColor BackgroundColor BackgroundColor BackgroundColor
Gets the background color of lines of closed caption text.
public : static ClosedCaptionColor BackgroundColor { get; }public static ClosedCaptionColor BackgroundColor { get; }Public Static ReadOnly Property BackgroundColor As ClosedCaptionColor// You can use this property in JavaScript.
The background color of lines of closed caption text.
Remarks
This property represents the color behind the character glyphs within individual lines of text. The background of the entire closed caption region can be determined with the RegionColor property.
BackgroundOpacity BackgroundOpacity BackgroundOpacity BackgroundOpacity
Gets the background opacity of lines of closed caption text.
public : static ClosedCaptionOpacity BackgroundOpacity { get; }public static ClosedCaptionOpacity BackgroundOpacity { get; }Public Static ReadOnly Property BackgroundOpacity As ClosedCaptionOpacity// You can use this property in JavaScript.
The background opacity of lines of closed caption text.
ComputedBackgroundColor ComputedBackgroundColor ComputedBackgroundColor ComputedBackgroundColor
Gets the computed background color of lines of closed caption text.
public : static Color ComputedBackgroundColor { get; }public static Color ComputedBackgroundColor { get; }Public Static ReadOnly Property ComputedBackgroundColor As Color// You can use this property in JavaScript.
Remarks
This property gets the background color computed by the system for optimal contrast.
ComputedFontColor ComputedFontColor ComputedFontColor ComputedFontColor
Gets the computed font color for closed caption text.
public : static Color ComputedFontColor { get; }public static Color ComputedFontColor { get; }Public Static ReadOnly Property ComputedFontColor As Color// You can use this property in JavaScript.
Remarks
This property gets the font color computed by the system for optimal contrast.
ComputedRegionColor ComputedRegionColor ComputedRegionColor ComputedRegionColor
Gets the computed region color for closed caption text.
public : static Color ComputedRegionColor { get; }public static Color ComputedRegionColor { get; }Public Static ReadOnly Property ComputedRegionColor As Color// You can use this property in JavaScript.
Remarks
This property gets the region color computed by the system for optimal contrast.
FontColor FontColor FontColor FontColor
Gets the font color for closed caption text.
public : static ClosedCaptionColor FontColor { get; }public static ClosedCaptionColor FontColor { get; }Public Static ReadOnly Property FontColor As ClosedCaptionColor// You can use this property in JavaScript.
The font color for closed caption text.
FontEffect FontEffect FontEffect FontEffect
Gets the font effect for closed caption text.
public : static ClosedCaptionEdgeEffect FontEffect { get; }public static ClosedCaptionEdgeEffect FontEffect { get; }Public Static ReadOnly Property FontEffect As ClosedCaptionEdgeEffect// You can use this property in JavaScript.
- Value
- ClosedCaptionEdgeEffect ClosedCaptionEdgeEffect ClosedCaptionEdgeEffect ClosedCaptionEdgeEffect
The font effect for closed caption text.
FontOpacity FontOpacity FontOpacity FontOpacity
Gets the font opacity for closed caption text.
public : static ClosedCaptionOpacity FontOpacity { get; }public static ClosedCaptionOpacity FontOpacity { get; }Public Static ReadOnly Property FontOpacity As ClosedCaptionOpacity// You can use this property in JavaScript.
The font opacity for closed caption text.
FontSize FontSize FontSize FontSize
Gets the font size for closed caption text.
public : static ClosedCaptionSize FontSize { get; }public static ClosedCaptionSize FontSize { get; }Public Static ReadOnly Property FontSize As ClosedCaptionSize// You can use this property in JavaScript.
The font size for closed caption text.
FontStyle FontStyle FontStyle FontStyle
Gets the font style for closed caption text.
public : static ClosedCaptionStyle FontStyle { get; }public static ClosedCaptionStyle FontStyle { get; }Public Static ReadOnly Property FontStyle As ClosedCaptionStyle// You can use this property in JavaScript.
The font style for closed caption text.
RegionColor RegionColor RegionColor RegionColor
Gets the region color for closed caption text.
public : static ClosedCaptionColor RegionColor { get; }public static ClosedCaptionColor RegionColor { get; }Public Static ReadOnly Property RegionColor As ClosedCaptionColor// You can use this property in JavaScript.
The region color for closed caption text.
RegionOpacity RegionOpacity RegionOpacity RegionOpacity
Gets the region opacity for closed caption text.
public : static ClosedCaptionOpacity RegionOpacity { get; }public static ClosedCaptionOpacity RegionOpacity { get; }Public Static ReadOnly Property RegionOpacity As ClosedCaptionOpacity// You can use this property in JavaScript.
The region opacity for closed caption text.