Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

Webview.GetIcon

Queries the favorite icon of current webpage.

Component: Webview
Version: 5.0
Mac OS X: Yes
Windows: No
Server: No
FileMaker Cloud: 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


Webview.GetHidden   -   Webview.GetInternetExplorerVersion

Feedback: Report problem or ask question.




Links
MBS Realbasic tutorial videos - Christians Software aus Nickenich