Click or drag to resize

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
)

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