Gets a particular style from the collection.


public ParagraphStyle GetItem(string styleName);
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.