Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
WebView.GetLink
Returns a property of the link with the given index.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
WebView | 1.8 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
MBS( "WebView.GetLink"; WebViewerRef; LinkIndex; PropertyName ) More
Parameters
Parameter | Description | Example |
---|---|---|
WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. | "web" |
LinkIndex | The index of the link. From 0 to LinkCount-1. | 5 |
PropertyName | The name of the property you want to query: href, rev, name, rel, accessKey, target, coords, hrefLang, type, charset, title lang, innerHTML, innerText | "href" |
Description
Returns a property of the link with the given index.Examples
Queries 6th link:
MBS( "WebView.GetLink"; "web"; 5; "href" )
See also
- WebView.FindByName
- WebView.GetForm
- WebView.GetIcon
- WebView.GetLinkCount
- WebView.GetSilent
- WebView.GetTitle
- WebView.GetURL
- WebView.GetZoom
Example Databases
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014