Table of Contents

Class Relation

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

This ILocator helps distinguish an IAIObject that may appear multiple times in the application by its relation with respect to other objects in the view.

public class Relation : ILocator
Inheritance
Relation
Implements
Inherited Members

Constructors

Relation()

Constructs a new Relation that can be used to uniquely identify an IAIObject by its visual relation.

public Relation()

Relation(RelationType, IAIObject)

Constructs a new Relation that can be used to uniquely identify an IAIObject by its visual relation.

public Relation(RelationType relationType, IAIObject anchor)

Parameters

relationType RelationType

The relation type with respect to the IAIObject.

anchor IAIObject

The IAIObject which has a visual relation with respect to the object to be identified.

Properties

Anchor

The IAIObject which has a visual relation with respect to the object to be identified.

public IAIObject Anchor { get; set; }

Property Value

IAIObject

RelationType

The relation type with respect to the IAIObject.

public RelationType RelationType { get; set; }

Property Value

RelationType

Methods

GetProperties()

Returns the inner properties of this property.

public IDictionary<string, object> GetProperties()

Returns

IDictionary<string, object>