TXTextControl.ParagraphStyleCollection.GetItem Method

Gets a particular style from the collection.

Syntax

[C#]
public ParagraphStyle GetItem(string styleName);
[Visual Basic]
Public Function GetItem(ByVal styleName As String) As ParagraphStyle
Parameter Description
styleName

Specifies the name of the style.

Return Value

The return value is null, if a style with the specified name is not contained in the collection. Otherwise it is an object of the type ParagraphStyle.

See Also