ApplyStyle

Range.ApplyStyle method

Applies formats for a whole range.

public void ApplyStyle(Style style, StyleFlag flag)
Parameter Type Description
style Style The style object which will be applied.
flag StyleFlag Flags 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