/// <summary> /// Adds a new group to the legend at the topmost position /// </summary> /// <returns>Handle to the group on success, -1 on failure</returns> public int Add() { return(m_Legend.AddGroup("New Group")); }