[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IRange.ApplyStyle

ApplyStyle Method

ApplyStyle(string)

Applies the named style to the range.

Declaration
bool ApplyStyle(string styleName)
Function ApplyStyle(styleName As String) As Boolean
Parameters
Type Name Description
string styleName

Name of the style.

Returns
Type Description
bool

true if the style applies to cell successful, false otherwise.

ApplyStyle(BuiltInStyle)

Applies the builtIn style to the range.

Declaration
bool ApplyStyle(BuiltInStyle style)
Function ApplyStyle(style As BuiltInStyle) As Boolean
Parameters
Type Name Description
BuiltInStyle style

The built-in style.

Returns
Type Description
bool

true if the style applies to cell successful, false otherwise.