Description
Returns the offset in pure text of the visible text above a hyperlink.
Arguments
|
Name |
Type |
I/O |
Description |
|
URL |
String |
In |
The page of interest (blank for the current page). |
|
Index |
Long Integer |
In |
The zero-based index of the hyperlink in the page. |
Return Value
Long Integer: the offset in pure text of the visible text above the specified hyperlink. If the index is out of range then –1 is returned.
Example
REM Get the visible text associated with the third hyperlink on the current page:
LinkTextOffset = WebsterPro1.GetLinkTextStart("", 3)
LinkTextLength = WebsterPro1.GetLinkTextLength("", 3)
StringText = WebsterPro1.GetText(LinkTextOffset, LinkTextLength)
Remarks
This method can be applied to the current visible page or to any other page in cache.
The GetLinkCount method returns the count of hyperlinks in the page.
Use the GetLinkURL method to retrieve hyperlink URLs by index.
Remarks
This method can be applied to the current visible page or to any other page in cache.
The GetLinkCount method returns the count of hyperlinks in the page.