Page tree

Versions Compared

Key

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

Excerpt

Returns or sets an NamedStyle object that represents the Style of this paragraph.

{signature}
{example}{code:csharp|title=C#}

          //--- Return NamedStyle
          NamedStyle oNamedStyle = oParagraph.Style;

          //--- Set NamedStyle
          oParagraph.Style = oDocument.Styles[NamedStyle.BuiltIn.Heading1];
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return NamedStyle
          Dim oNamedStyle As NamedStyle = oParagraph.Style

          '--- Set NamedStyle
          oParagraph.Style = oDocument.Styles(NamedStyle.BuilIn.Heading1)
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns or sets an [NamedStyle|NamedStyle] object that represents the Style of this paragraph.{excerpt}
{signature:C#}
 public NamedStyle Style{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Style() As NamedStyle
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle