[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Fields.TocStyleLevelCollection.TryGetStyle

TryGetStyle Method

TryGetStyle(string, out TocStyleLevel)

Tries to get the TocStyleLevel associated with a specified style name.

Declaration
public bool TryGetStyle(string name, out TocStyleLevel item)
Parameters
Type Name Description
string name

The style name.

TocStyleLevel item

OUT: the TocStyleLevel associated with name.

Returns
Type Description
bool

true if the collection contains a TocStyleLevel associated with name, false otherwise.