Table of Contents

Class VisualRelation

Class representing Visual Relations Identifier (VRI) data. Each VisualRelation class contains a reference to a test object, and up to three possible relations: horizontal relation, vertical relation, and proximity relation.

Inheritance
VisualRelation
Implements
ICloneable
Namespace: HP.LFT.SDK
Assembly: HP.LFT.SDK.dll
Syntax
public class VisualRelation : ICloneable
Remarks

See the Help Center for for a diagram that illustrates how visual relations are interpreted and the boundaries that are used for determining in-line related objects.

Constructors

VisualRelation()

Initializes a new instance of the VisualRelation class with null values for all 3 relation elements.

Declaration
public VisualRelation()

Properties

HorizontalRelation

The horizontal relation definition.

Declaration
public HorizontalVisualRelation? HorizontalRelation { get; set; }
Property Value
Type Description
HorizontalVisualRelation?

ProximityRelation

The proximity relation definition.

Declaration
public ProximityVisualRelation? ProximityRelation { get; set; }
Property Value
Type Description
ProximityVisualRelation?

TestObject

The related test object.

Declaration
public ITestObject TestObject { get; set; }
Property Value
Type Description
ITestObject

VerticalRelation

The vertical relation definition.

Declaration
public VerticalVisualRelation? VerticalRelation { get; set; }
Property Value
Type Description
VerticalVisualRelation?

Methods

Clone()

Creates an exact copy of this object.

Declaration
public object Clone()
Returns
Type Description
object

a deep copy of the instance.

Implements

ICloneable