Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
IWMPClosedCaption2 Interface (VB and C#)
Provides properties and methods for closed captioning that supplement the IWMPClosedCaption interface.
In addition to the properties inherited from IWMPClosedCaption, the IWMPClosedCaption2 interface exposes the following properties.
| Property | Description |
| SAMILangCount | Gets or sets the number of languages supported by the current SAMI file. |
| SAMIStyleCount | Gets or sets the number of styles supported by the current SAMI file. |
The IWMPClosedCaption2 interface exposes the following methods.
| Method | Description |
| getSAMILangID | Returns the locale identifier (LCID) of a language supported by the current SAMI file. |
| getSAMILangName | Returns the name of a language supported by the current SAMI file. |
| getSAMIStyleName | Returns the name of a style supported by the current SAMI file. |
Get an IWMPClosedCaption2 interface by casting the value returned by the AxWindowsMediaPlayer.closedCaption property.
See Also
- Adding Closed Captions to Digital Media
- Interfaces for Visual Basic .NET and C#
- IWMPClosedCaption Interface (VB and C#)
| Previous | Next |