Click or drag to resize
StyleCollectionIndexOf Method
Determines the index of a specific Style instance in the StyleCollection.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1255
Syntax
public int IndexOf(
	Style item
)

Parameters

item
Type: GemBox.DocumentStyle
The Style instance to locate in the StyleCollection.

Return Value

Type: Int32
The index of item if found in the collection; otherwise, -1.
See Also