Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Returns the image used to depict a mixed state.

Component Version macOS Windows Linux Server iOS SDK
Menu 4.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "MenuItem.GetMixedStateImage"; item { ; ImageType; FileName } )   More


Parameter Description Example Flags
item The reference to the menu item.
Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator.
ImageType The type of image to return.
Either JPEG, PNG, GIF or BMP. Default is JPEG.
"JPEG" Optional
FileName The filename to use for the picture.
Default is "image" with the extension matching the image type.
"test.jpg" Optional


Returns image or error.


Returns the image used to depict a mixed state.
A mixed state is useful for indicating a mix of "off” and "on” attribute values in a group of selected objects, such as a selection of text containing boldface and plain (non-boldface) words. By default this is a horizontal line.
Please call GMImage.Release later to free memory for this image.

See also

This function checks for a license.

Created 18th August 2014, last changed 29th September 2020

MenuItem.GetKeyEquivalentModifierMask - MenuItem.GetOffStateImage