Click or drag to resize

LengthCompareTo Method

Compares the value of this instance to a specified Length value and returns an integer that indicates whether this instance is less than, equal to, or greater than the specified Length value.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1038 (21.3.35.1038)
Syntax
public int CompareTo(
	Length other
)

Parameters

other
Type: GemBox.PresentationLength
The object to compare to the current instance.

Return Value

Type: Int32

A signed number indicating the relative values of this instance and the other parameter.

If returned value is less than zero, then this instance is less than other; else, if it is zero, then this instance is equal to other; else (if it is greater than zero) this instance is greater than other.

Implements

IComparableTCompareTo(T)
See Also