Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

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

Signature
C#
C#
public NamedStyle Style{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property Style() As NamedStyle
{signature}
{example}{code:csharp|title=C#}
Example
 
Code Block
csharp
csharp
titleC#
            //--- Return NamedStyle
          NamedStyle oNamedStyle = oParagraph.Style;

          //--- Set NamedStyle
          oParagraph.Style = oDocument.Styles[NamedStyle.BuiltIn.Heading1];
        {code}
{code:
|title=}
Code Block
vb.net
vb.net
titlevb.net
            '--- Return NamedStyle
          Dim oNamedStyle As NamedStyle = oParagraph.Style

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

{example}
Example