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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

WebView.GetIcon

Queries the favorite icon of current webpage.

Component Version macOS Windows Linux Server iOS SDK
WebView 5.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "WebView.GetIcon"; WebViewerRef { ; ImageType; FileName } )   More

Parameters

Parameter Description Example Flags
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.
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 OK or error.

Description

Queries the favorite icon of current webpage.

Not supported for WebKit 2.x (FileMaker 16 Mac), but works in FileMaker 16, when using a Web Viewer created using WebView.Create.

See also

Blog Entries

Created 19th January 2015, last changed 29th September 2020


WebView.GetHidden - WebView.GetImage

Feedback: Report problem or ask question.