Table of Contents

Class SizeProperty

The size properties of a test object.

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

Constructors

SizeProperty()

Initializes a new instance of the SizeProperty class.

Declaration
public SizeProperty()

SizeProperty(Size)

Initializes a new instance of the SizeProperty class with width and height values.

Declaration
public SizeProperty(Size size)
Parameters
Type Name Description
Size size

The Width, Height values to initialize the the SizeProperty.

Properties

Height

The vertical component of the test object size.

Declaration
public int? Height { get; set; }
Property Value
Type Description
int?

Width

The horizontal component of the test object size.

Declaration
public int? Width { get; set; }
Property Value
Type Description
int?

Methods

Clone()

Creates an exact copy of this object.

Declaration
public object Clone()
Returns
Type Description
object

a deep copy of the instance.

GetProperties()

Returns the inner properties of this property.

Declaration
public IDictionary<string, object> GetProperties()
Returns
Type Description
IDictionary<string, object>

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

implicit operator SizeProperty(Size)

Implicit cast of Size to SizeProperty.

Declaration
public static implicit operator SizeProperty(Size size)
Parameters
Type Name Description
Size size

The Size instance to be cast to SizeProperty.

Returns
Type Description
SizeProperty
Remarks

This is the same as calling a new SizeProperty(Size).

Implements

ICloneable