Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
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:vb.net}
Public Sub SetStyle(ByVal style As Style)
{signature}
{parameters}
{param:style}The Style object to assign to the range.{param}
{example}{code:csharp|title=C#}
rng.SetStyle(styl);{code}
{code:vb.net|title=vb.net}
rng.SetStyle(styl){code}

{example}