Range.SetStyle

SetStyle(Style, bool)

Apply the cell style.

public void SetStyle(Style style, bool explicitFlag)
ParameterTypeDescription
styleStyleThe cell style.
explicitFlagBooleanTrue, only overwriting formatting which is explicitly set.

See Also


SetStyle(Style)

Sets the style of the range.

public void SetStyle(Style style)
ParameterTypeDescription
styleStyleThe Style object.

See Also