Share via


Windows Media Player 11 SDK IWMPClosedCaption Interface (VB and C#) 

Windows Media Player SDK banner art

Previous Next

IWMPClosedCaption Interface (VB and C#)

Provides a way to include captions with a digital media file. The captioning text is in a Synchronized Accessible Media Interchange (SAMI) file.

The IWMPClosedCaption interface exposes the following properties.

Property Description
captioningId Gets or sets the name of the HTML element displaying the captioning.
SAMIFileName Gets or sets the name of the file containing the information needed for closed captioning.
SAMILang Gets or sets the language displayed for closed captioning.
SAMIStyle Gets or sets the closed captioning style.

Get an IWMPClosedCaption interface by using the following property.

Object Property
AxWindowsMediaPlayer closedCaption

See Also

Previous Next