Table of Contents

Class InsightDescription

The description of an Insight test object.

Inheritance
InsightDescription
Namespace: HP.LFT.SDK.Insight
Assembly: HP.LFT.SDK.dll
Syntax
public class InsightDescription : Description, ICloneable, IDescription

Constructors

InsightDescription(Image)

Initializes a new InsightDescription instance based on the provided image using a default similarity value of 80%.

Declaration
public InsightDescription(Image image)
Parameters
Type Name Description
Image image

The Image that is used to find a visual match within this object's parent object.

InsightDescription(Image, uint)

Initializes a new InsightDescription instance based on the provided image and specified similarity value.

Declaration
public InsightDescription(Image image, uint similarity)
Parameters
Type Name Description
Image image

The Image that is used to find a visual match within this object's parent object.

uint similarity

A percentage value that specifies how similar an object in the AUT must be to the supplied Image in order to be considered a match. Possible values: 0 - 100.

Properties

Image

The Image used as the source image for this Insight test object.

Declaration
public Image Image { get; set; }
Property Value
Type Description
Image

Similarity

A percentage value that specifies how similar an object in the AUT must be to this Insight object's source Image in order to be considered a match. Possible values: 0 - 100.

Declaration
public uint? Similarity { get; set; }
Property Value
Type Description
uint?

Implements

ICloneable
IDescription