Table of Contents

Class SizeProperty

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

The size properties of a test object.

public class SizeProperty : ICloneable
Inheritance
SizeProperty
Implements
Inherited Members

Constructors

SizeProperty()

Initializes a new instance of the SizeProperty class.

public SizeProperty()

SizeProperty(Size)

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

public SizeProperty(Size size)

Parameters

size Size

The Width, Height values to initialize the the SizeProperty.

Properties

Height

The vertical component of the test object size.

public int? Height { get; set; }

Property Value

int?

Width

The horizontal component of the test object size.

public int? Width { get; set; }

Property Value

int?

Methods

Clone()

Creates an exact copy of this object.

public object Clone()

Returns

object

a deep copy of the instance.

GetProperties()

Returns the inner properties of this property.

public IDictionary<string, object> GetProperties()

Returns

IDictionary<string, object>

ToString()

public override string ToString()

Returns

string

Operators

implicit operator SizeProperty(Size)

Implicit cast of Size to SizeProperty.

public static implicit operator SizeProperty(Size size)

Parameters

size Size

The Size instance to be cast to SizeProperty.

Returns

SizeProperty

Remarks

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