Exago .NET API Documentation
Exists Method (ReportTheme)
WebReports.Api.Theme Namespace > ReportTheme Class : Exists Method
The PageInfo object
The type of theme to check for, one of the ReportTheme.ReportThemeType Enumeration methods.
The theme to retrieve
Determine if a theme exists. This function first checks the root report directory, if it doesn't exist there the installation path "Themes" folder is checked
Syntax
public static System.bool Exists( 
   PageInfo pageInfo,
   ReportTheme.ReportThemeType type,
   System.string theme
)

Parameters

pageInfo
The PageInfo object
type
The type of theme to check for, one of the ReportTheme.ReportThemeType Enumeration methods.
theme
The theme to retrieve

Return Value

true if the theme exists, false otherwise
See Also

Reference

ReportTheme Class
ReportTheme Members