[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.StyleCollection.Item

this Property

this[string]

Gets a style by name or alias.

Declaration
public Style this[string name] { get; }
Public ReadOnly Default Property Item(name As String) As Style
Parameters
Type Name Description
string name

A style name or alias.

Property Value
Type Description
Style

The style with the specified name or alias.

this[BuiltInStyleId]

Gets a built-in style by its locale independent identifier.

Declaration
public Style this[BuiltInStyleId id] { get; }
Public ReadOnly Default Property Item(id As BuiltInStyleId) As Style
Parameters
Type Name Description
BuiltInStyleId id

The BuiltInStyleId value that specifies the built in style to retrieve.

Property Value
Type Description
Style

The built-in style.

this[int]

Gets a style by its index.

Declaration
public Style this[int index] { get; }
Public ReadOnly Default Property Item(index As Integer) As Style
Parameters
Type Name Description
int index

The index of a style index in the collection.

Property Value
Type Description
Style

The style with the specified index.

Implements