[]
Returns the index within the collection of the element.
public int IndexOf(Font font)
Public Function IndexOf(font As Font) As Integer
| Type | Name | Description |
|---|---|---|
| Font | font | The drawing font. |
| Type | Description |
|---|---|
| int | The zero-based index of the first occurrence of element, if found, otherwise, -1. |