Method GetPresetIndex
GetPresetIndex(string)
Get the index of the first preset that matches the preset name
Declaration
public int GetPresetIndex(string presetName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | presetName | Name of the preset |
Returns
| Type | Description |
|---|---|
| int | the preset index, or -1 if no matching preset |