PresetIF.renamePreset

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

interface PresetIF
bool
renamePreset
(
string oldName
,
string newName
)

Parameters

oldName string

current preset name

newName string

new preset name

Return Value

Type: bool

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