[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.StyleCollection.AddLinkedStyle

AddLinkedStyle Method

AddLinkedStyle(string, Style)

Adds a pair of linked paragraph and character styles to the collection.

Declaration
public Style AddLinkedStyle(string name, Style baseStyle = null)
Public Function AddLinkedStyle(name As String, Optional baseStyle As Style = Nothing) As Style
Parameters
Type Name Description
string name

The linked style name.

Style baseStyle

A base paragraph or linked style.

Returns
Type Description
Style

A newly created linked paragraph style.