PresetT.renamePreset

Renames a preset. If there is already a preset by the new_name it will be overwritten.

template PresetT(TStruct)
int
renamePreset
(
string oldName
,
string newName
)

Parameters

oldName string

current preset name

newName string

new preset name

Return Value

Type: int

TRUE for success, FALSE if e.g. there is no preset with old_name

Meta