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.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

WebView.GetPlainText

Queries the current text of the document.

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

MBS( "WebView.GetPlainText"; 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 text or error.

Description

Queries the current text of the document.
No formatting, but only the text. This may show more/less text than you see.

See also WebView.GetHTMLText, WebView.GetFormattedText and WebView.SelectedText.

Examples

Query plain text from webviewer:

MBS("WebView.GetPlainText"; "web")

Query html text from webviewer:

MBS("WebView.GetHTMLText"; "web")

Query formatted text from webviewer:

MBS("WebView.GetFormattedText"; "web")

Query selected text:

MBS("WebView.SelectedText"; "web")

See also

Example Databases

Created 18th August 2014, last changed 12nd February 2015


WebView.GetLinkCount   -   WebView.GetPreferences

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins