Click or drag to resize
StyleCollectionContains Method (String)
Determines whether the StyleCollection contains a Style instance with specific name.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1243
Syntax
public bool Contains(
	string styleName
)

Parameters

styleName
Type: SystemString
Name of the Style to locate in the StyleCollection.

Return Value

Type: Boolean
if Style instance with specific name is found in the StyleCollection; otherwise, .
See Also