Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

WebView.GetIcon

Queries the favorite icon of current webpage.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 5.0 Yes No No No No
MBS( "WebView.GetIcon"; WebViewerRef { ; ImageType; Filename } )   More

Parameters

Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.
ImageType Optional
The type of image to return. Either JPEG, PNG, GIF or BMP. Default is JPEG.
"JPEG"
Filename Optional
The filename to use for the picture. Default is "image" with the extension matching the image type.
"test.jpg"

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

Created 19th January 2015, last changed 8th October 2017


WebView.GetHidden   -   WebView.GetImage

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins