Description |
---|
Excerpt |
---|
Sets the style for every cell in this range. When a style is set - rather than applied (see Range.ApplyStyle ) - all previously assigned style properties, including font and number formatting, will be overwritten for all cells in the range. |
Signature | C# | C# |
---|---|---|
Wiki Markup | ||
{description}
{excerpt}Sets the style for every cell in this range. When a style is set \- rather than applied \(see [Range.ApplyStyle|Range.ApplyStyle(Style)] \) \- all previously assigned style properties, including font and number formatting, will be overwritten for all cells in the range.{excerpt}
{signature:C#}
public void SetStyle(Style style)
| ||
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Sub SetStyle(ByVal style As Style)
|
Parameters |
---|
Param | style | style | |
---|---|---|---|
The Style object to assign to the range. | |||
Example | |||
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |