Click or drag to resize
StyleCollectionItem Property (String)
Gets the Style with the specified style name.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1255
Syntax
public Style this[
	string styleName
] { get; }

Parameters

styleName
Type: SystemString
Name of the style.

Property Value

Type: Style
The Style with the specified style name.

Return Value

Type: Style
The Style with the specified style name.
Exceptions
ExceptionCondition
ArgumentExceptionStyle with the specified name is not contained in the collection.
See Also