PagePorter Class Library

MsTheme.SetTheme Method 

Sets the Microsoft Theme and option flags.

[Visual Basic]
Public Sub SetTheme( _
   ByVal theme As String _
)
[C#]
public void SetTheme(
   string theme
);

Parameters

theme
A string containing the Theme name, optionally followed by a three or four character string representing the option flags as follows:
Position (0 = leftmost)Description
0 (4-char)Apply Using CSS flag.
1 (4-char) 0 (3-char)Vivid colors flag.
2 (4-char) 1 (3-char)Active Graphics flag.
3 (4-char) 2 (3-char)Background Picture flag.
The actual internal theme member variables are not set until the entire theme string has been parsed without errors. The theme string illegal or an improper number of option flag characters.

See Also

MsTheme Class | Parastream.Web.MsFrontPage Namespace