Range.ApplyStyle

Range.ApplyStyle method

Applies formats for a whole range.

public void ApplyStyle(Style style, StyleFlag flag)
ParameterTypeDescription
styleStyleThe style object which will be applied.
flagStyleFlagFlags which indicates applied formatting properties.

Remarks

Each cell in this range will contains a Style object. So this is a memory-consuming method. Please use it carefully.

See Also