Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a style for the area. When a style is set - rather than applied (see Area.ApplyStyle) - the area to which the style is assigned acquires all of that style's properties, including font properties and number formatting. Setting a style overwrites any pre-existing formatting on the area.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a style for the area.  When a style is set \- rather than applied  \(see [Area.ApplyStyle|Area.ApplyStyle(Style)]\) \- the area to which the style  is assigned acquires all of that style's properties, including font properties and number  formatting.  Setting a style overwrites any pre\-existing formatting on the area.{excerpt}
{signature:C#}
 public void SetStyle(Style value)
Signature
{signature}{signature:vb.net
vb.net
}
Public Sub SetStyle(ByVal value As Style)
Parameters
{signature}
{parameters}
{param:style}The [Style|Style] object to assign to the area.{param}
{example}{code:csharp|title=C#}
a.SetStyle(styl);
{code}
{code:vb.net
|title=vb.net
}
a.SetStyle(styl)
Param
stylestyle

The Style object to assign to the area.

Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle

...

{code}

{example}
{scrollbar}