Closed swharden closed 4 years ago
Currently using a listbox requires this:
cbColormap.Items.AddRange(Colormap.GetColormaps().Select(x => x.Name).ToArray()); var cmap = Colormap.GetColormaps().Where(x => x.Name == cbColormap.Text).ToArray()[0];
I'd like to be able to:
cbColormap.Items.AddRange(Colormap.GetColormapNames()); var cmap = Colormap.GetColormapFromName(cbColormap.Text);
Currently using a listbox requires this:
I'd like to be able to: