XlsWorksheet
ApplyStyle Method (CellStyle, Boolean, Boolean)
|
Apply style to whole sheet.
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(
CellStyle style,
bool applyRowStyle,
bool applyColumnStyle
)
Public Sub ApplyStyle (
style As CellStyle,
applyRowStyle As Boolean,
applyColumnStyle As Boolean
)
public:
void ApplyStyle(
CellStyle^ style,
bool applyRowStyle,
bool applyColumnStyle
)
member ApplyStyle :
style : CellStyle *
applyRowStyle : bool *
applyColumnStyle : bool -> unit
Parameters
-
style
-
Type:
Spire.Xls
CellStyle
style to apply
-
applyRowStyle
-
Type:
System
Boolean
true means apply style to all rows
-
applyColumnStyle
-
Type:
System
Boolean
true means apply style to all columns
See Also