Search
Length Members
Constructors Methods
 


Specifies distance expressed either absolutely, through pixels, or relatively, through a percentage of the container's size.

The following tables list the members exposed by the Length type.

 Public Constructors

  Name Description

Length

Overloaded. Initializes a new instance of the Length class.

 Public Methods

  Name Description

clone

 

equals

Object.equals override. Compares an object to an instance of Length for equality.

getAbsoluteLength

Calculates the absolute length corresponding to the specified argument, relative to the the specified area.

getAbsoluteLengthF

Calculates the absolute length corresponding to the specified argument, relative to the the specified area.

getType

Gets a value indicating how to interpret Value.

getValue

Gets the value representing this length.

hashCode

Gets the hash code for this instance of Length object.

op_Equality

Compares two Length objects for equality.

op_Inequality

Compares two Length objects to determine if they are not equal.

op_Subtraction

Returns the negative of a specified Length object.

setType

Gets a value indicating how to interpret Value.

setValue

Sets the value representing this length.

toString

Returns a string representation of this Length object.

 See Also