Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MapView.Screenshot
Renders screenshot of the map view.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MapView | 9.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "MapView.Screenshot"; MapView { ; ImageType; FileName } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
MapView | The map view reference number. | $$MapView | |
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 container or error.
Description
Renders screenshot of the map view.This includes annotations and overlays as they are visible.
Examples
Save screenshot to desktop:
If [ Length ( $$MapView) > 0 ]
Set Variable [ $screenshot ; Value: MBS("MapView.Screenshot"; $$MapView; "PNG") ]
Set Variable [ $file ; Value: MBS( "Path.AddPathComponent"; MBS( "Folders.UserDesktop" ); "mapview.png" ) ]
Set Variable [ $r ; Value: MBS( "Container.WriteFile"; $screenshot; $file) ]
End If
See also
Release notes
- Version 9.3
- Added MapView.Screenshot function.
Example Databases
Blog Entries
- Neues vom MBS Plugin 9.3
- Whats new in MBS FileMaker Plugin version 9.3
- Neues MBS FileMaker Plugin 9.3 - Über 5900 Funktionen in einem Plugin
- MBS FileMaker Plugin 9.3 - More than 5900 Functions In One Plugin
- MBS FileMaker Plugin, version 9.3pr1
FileMaker Magazin
This function checks for a license.
Created 1st June 2019, last changed 17th December 2022
