XlsRange
ApplyStyle Method
|
Applies the specified style to the cells within the range, based on the given flag.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void ApplyStyle(
IStyle style,
CellStyleFlag flag
)
Public Sub ApplyStyle (
style As IStyle,
flag As CellStyleFlag
)
public:
void ApplyStyle(
IStyle^ style,
CellStyleFlag^ flag
)
member ApplyStyle :
style : IStyle *
flag : CellStyleFlag -> unit
Parameters
-
style
-
Type:
Spire.Xls.Core
IStyle
The style to apply.
-
flag
-
Type:
Spire.Xls
CellStyleFlag
The flag indicating which style properties to apply.
See Also