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
Description

Excerpt

Returns a NamedStyle object that represents the named style that has the specified built in name.

Signature
C#
C#
 public NamedStyle this[BuiltIn name] { get; }
Signature
vb.net
vb.net
Public Default ReadOnly Property Item(ByVal name As BuiltIn) As NamedStyle
Parameters
Param
name
name

A NamedStyle.BuiltIn enumeration that represents the name of the style to retrieve.

Returns

A NamedStyle object that represents the named style that has the specified built in name.

Example
Code Block
csharp
csharp
titleC#

          //--- Get Style by name
          NamedStyle myStyle = styls[NamedStyle.BuiltIn.Normal];
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Get Style by name
          Dim myStyle As NamedStyle = styls.Item(NamedStyle.BuiltIn.Normal)