Returns an array of the names of all formatting styles, the document contains. This property can be used to fill a combo box or a menu.

Syntax

public string[] StyleNames { get; }
Public ReadOnly Property StyleNames() As String()

Limitations

Read only.