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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

WebView.Print

Prints the current webview content.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 1.8 Yes Yes No No Yes

MBS( "WebView.Print"; WebViewerRef )

Parameters

Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.

Result

Returns OK or error.

Description

Prints the current webview content.
You can get/set some parameters on Mac OS X using the WebView.GetPrintParameter/WebView.SetPrintParameter functions.

Not supported for WebKit 2.x (FileMaker 16 Mac). We tried it, but as of macOS 10.12.4 we only get white pages. Works in FileMaker 16, when using a Web Viewer created using WebView.Create.

See also

Example Databases


WebView.PressKey   -   WebView.PrintPreview

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins