Retrieves information about the actual page, such as the number of hyperlinks or forms.
WebAPI.bdh
WebGetPageInfo( in nOption : number, out nValue : number ) : boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
nOption |
Can be one of the following values:
|
nValue | Variable, that receives the specified value. |
dcltrans transaction TWeb var nValue : number; begin WebPageUrl("http://standardhost/"); WebGetPageInfo(WEB_PAGE_INFO_HREF, nValue); Print(string(nValue)); WebGetPageInfo(WEB_PAGE_INFO_FORMS, nValue); Print(string(nValue)); end TWeb;