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

WebView.GetPlainText

Queries the current text of the document.

Component: WebView
Version: 3.1
Mac OS X: Yes
Windows: Yes
Server: No
FileMaker Cloud: No

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


WebView.GetLinkCount   -   WebView.GetPreferences

Feedback: Report problem or ask question.




Links
MBS Realbasic Chart Plugins - Pfarrgemeinde Ministranten Nickenich