Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

ImageView.SetImage

Sets the image to be shown in the image view.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ImageView 7.4 Yes No No No Yes

MBS( "ImageView.SetImage"; ImageView; image )

Parameters

Parameter Description Example value
ImageView The image view reference number. $$ImageView
image the image to use.
For best results, pass a container value with a PNG image.
For animation, pass a GIF image.

Result

Returns OK or error.

Description

Sets the image to be shown in the image view.
We treat GIF images special and animate them.

Examples

Sets image:

Set Variable [ $r ; Value: MBS("ImageView.SetImage"; $$ImageView; ImageView::ImageContainer) ]

See also

Example Databases


ImageView.SetFrame   -   ImageView.SetTag

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins