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  

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 } )

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).

See also

Example Databases


Webview.GetHidden   -   Webview.GetInternetExplorerVersion

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins