Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
MenuItem.GetOffStateImage
Returns the image used to depict the receiver's off state.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Menu | 4.1 | Yes | Yes | No | No | No |
MBS( "MenuItem.GetOffStateImage"; item { ; ImageType; FileName } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| item | The reference to the menu item. Please create one with MenuItem.CreateMenuItem or MenuItem.CreateSeparator. |
$item | |
| 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 |
Result
Returns image or error.
Description
Returns the image used to depict the receiver's off state.The image used to depict the receiver's off state, or empty if the image has not been set.
Please call GMImage.Release later to free memory for this image.
See also
- GMImage.Release
- MenuItem.CreateMenuItem
- MenuItem.CreateSeparator
- MenuItem.GetMixedStateImage
- MenuItem.GetOnStateImage
- MenuItem.SetMixedStateImage
- MenuItem.SetOffStateImage
- MenuItem.SetOnStateImage
Created 18th August 2014, last changed 29th September 2020
MenuItem.GetMixedStateImage - MenuItem.GetOnStateImage
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins