Method GetIndex
- Namespace
- MigraDoc.DocumentObjectModel
- Assembly
- MigraDoc.DocumentObjectModel.dll
GetIndex(string)
Gets the index of a style by name.
public int GetIndex(string styleName)
Parameters
styleNamestringName of the style looking for.
Returns
- int
Index or -1 if it does not exist.