Table of Contents

Class VisualRelation

Namespace
HP.LFT.SDK
Assembly
HP.LFT.SDK.dll

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.

public class VisualRelation : ICloneable
Inheritance
VisualRelation
Implements
Inherited Members

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.

public VisualRelation()

Properties

HorizontalRelation

The horizontal relation definition.

public HorizontalVisualRelation? HorizontalRelation { get; set; }

Property Value

HorizontalVisualRelation?

ProximityRelation

The proximity relation definition.

public ProximityVisualRelation? ProximityRelation { get; set; }

Property Value

ProximityVisualRelation?

TestObject

The related test object.

public ITestObject TestObject { get; set; }

Property Value

ITestObject

VerticalRelation

The vertical relation definition.

public VerticalVisualRelation? VerticalRelation { get; set; }

Property Value

VerticalVisualRelation?

Methods

Clone()

Creates an exact copy of this object.

public object Clone()

Returns

object

a deep copy of the instance.