Contents - Index - Top


OnRequestElementAttributeByName

Interface AntViewDocument

 

Type: Event

Parameters: String Name String AttrName String Value Integer Error

Returns: None

 

 

Asynchronous result triggered after calling the RequestElementAttributeByName method.

 

Name contains the Name of the html element which was requested. Name is case sensitive.

The attribute is passed via parameter AttrName.

Value holds the value of the attribute passed for the first element identified by Name.

 

Error is 0 when the attribute for the element was found, 1 if the element identified by Name was not found or 2 if the attribute did not exist for that html element.

 

 

Introduced in AntView release 1.1.354

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024