Format Property

Microsoft FrontPage Visual Basic

Returns a String that represents the format of the specified Theme object. Read-only.

expression.Format

expression    Required. An expression that returns a Theme object.

Remarks

The theme format reflects the difference between the formats for the different versions of Microsoft FrontPage. For example, the format number for FrontPage 98 can be either 0.0 or 1.0, while the format number for FrontPage 2000 is 2.0, and so on.

Example

The following example retrieves the format of the applied theme for the active Web site.

Private Sub GetThemeFormat()
    Dim myFormat As String

    myFormat = ActiveWeb.Themes(0).Format
End Sub