Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: SAMILang
*Next Topic: SelectionEnd

SAMIStyle Property

Sets or retrieves a value representing the closed captioning style.

Syntax

MediaPlayer.SAMIStyle [ = "sStyle" ]

Possible Values

sStyle String value representing the closed captioning style.

This property is read/write. If no style is specified, the default behavior is for closed captioning to use the first style defined in the Synchronized Accessible Media Interchange (SAMI) file.

Remarks

A SAMI file can contain several format style definitions. SAMI styles are defined between the <STYLE> and </STYLE> tags in the SAMI file. A style can be defined by any text string preceded by a pound sign (#). For example, #BigFont can be used to specify that closed captioning should display in a larger font size.

See Also

CaptioningID, SAMILang, ShowCaptioning, Closed Captioning


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.