Skip to end of metadata
Go to start of metadata

Description

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

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

Parameters

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.

Examples

C#

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

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