Table of Contents

Class InsightDescription

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

The description of an Insight test object.

public class InsightDescription : Description, ICloneable, IDescription
Inheritance
InsightDescription
Implements
Inherited Members

Constructors

InsightDescription(Image)

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

public InsightDescription(Image image)

Parameters

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.

public InsightDescription(Image image, uint similarity)

Parameters

image Image

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

similarity uint

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.

public Image Image { get; set; }

Property Value

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.

public uint? Similarity { get; set; }

Property Value

uint?