Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: SAMIFileName
*Next Topic: SAMIStyle

SAMILang Property

Sets or retrieves a value specifying the language displayed for closed captioning.

Syntax

MediaPlayer.SAMILang [ = "sLang" ]

Possible Values

sLang String value specifying the language displayed for closed captioning.

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

Remarks

A SAMI file can contain text for one or many languages. The languages available for closed captioning are defined between the <STYLE> and </STYLE> tags in the SAMI file. A language can be specified by any unique alphanumeric string that is preceded by a period. For example, .ENUSCC could be used to define US English.

See Also

CaptioningID, SAMIStyle, ShowCaptioning, Closed Captioning


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