SAMILang Property

Returns or sets a String specifying the language displayed for closed captioning.

Syntax

MediaPlayer.SAMILang

Remarks

A Synchronized Accessible Media Interchange (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 alpha-numeric string that is preceded by a period (.). For example; .ENUSCC, could be used to define US English.

If no SAMI language is specified, the first language defined in the SAMI file is used by default.

See Also

CaptioningID, SAMIStyle, ShowCaptioning

© 1996-1998 Microsoft Corporation. All rights reserved.