Windows Media Player 11 SDK IWMPClosedCaption.SAMIStyle (VB and C#)
Previous | Next |
IWMPClosedCaption.SAMIStyle (VB and C#)
The SAMIStyle property gets or sets the closed captioning style.
[Visual Basic] Property SAMIStyle As String [C#] string SAMIStyle {get; set;}
Property Value
The System.String that is the name specified in the style identifier of a 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 is defined with a text string preceded by a # character. For example:
#Emphasis1 {Name: Big Bold Italic; font-size: 14pt; text-align: center; color: blue; font-family: sans-serif; font-weight: bold; font-style: italic;}
This specifies a style that produces a particular font.
If no SAMI style is specified, the first style defined in the SAMI file is used by default.
Requirements
Version: Windows Media Player 9 Series or later
Namespace: WMPLib
Assembly: Interop.WMPLib.dll (automatically generated by Visual Studio)
See Also
- Adding Closed Captions to Digital Media
- IWMPClosedCaption Interface (VB and C#)
- IWMPClosedCaption2 Interface (VB and C#)
Previous | Next |