GetTextPropList Function (HtmlHeading HtmlLink HtmlText)

Class

HtmlHeading, HtmlLink, and HtmlText.

Action

Returns the names of all text properties of the object.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

lsPropList = object.GetTextPropList()
Variable Description
lsPropList The list of text properties. LIST OF STRING.

Notes

GetTextPropList returns a list of all text properties of an object. You can pass these names to GetTextProp, as shown in the second example for GetTextProp.

Example

This example uses the description of sunglasses on the Products page of the GMO Web application.

LIST OF STRING lsProps
lsProps = ProductsPage.SunGlassesDesc.GetTextPropList()
ListPrint(lsProps)

// Result:
// $BackColor
// $FontName
// $FontSize
// $FontStyle
// $TextColor