Click or drag to resize

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
)

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