[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.IStyleSheetService.GetStyle

GetStyle Method

GetStyle(string)

Gets evaluated style by specified name.

Declaration
Style GetStyle(string styleName)
Parameters
Type Name Description
string styleName

A String indicating the name of the Style object.

Returns
Type Description
Style

The evaluated style if Style object whith specified name found in the report's stylesheet; otherwise, default style.

GetStyle(int)

Gets evaluated style by specified heading level.

Declaration
Style GetStyle(int level)
Parameters
Type Name Description
int level

A zero-based Integer indicating the value of HeadingLevel property of the Style object.

Returns
Type Description
Style

The evaluated style if Style object whith specified heading level found in the report's stylesheet; otherwise, default style.