Click or drag to resize
Ranorex

WebElementGetStyle Method

Retrieves a CSS style attribute from an element (by name).

Namespace:  Ranorex
Assembly:  Ranorex.Plugin.Web (in Ranorex.Plugin.Web.dll) Version: 12.7.4-git.38314c06
Syntax
public virtual string GetStyle(
	string name
)

Parameters

name
Type: SystemString
The name of the style.

Return Value

Type: String
The value of the CSS style attribute.
Exceptions
ExceptionCondition
ActionFailedExceptionThrown if invoking the action failed.
See Also