LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Inequality Operator
See Also 
Leadtools.Annotations Namespace > AnnRectangle Structure : Inequality Operator


left
The AnnRectangle structure on the left side of the inequality operator.
right
The AnnRectangle structure on the right side of the inequality operator.
Tests whether two AnnRectangle structures are unequal.

Syntax

Visual Basic (Declaration) 
Public Operator <>( _
   ByVal left As AnnRectangle, _
   ByVal right As AnnRectangle _
) As Boolean
C# 
public bool operator !=( 
   AnnRectangle left,
   AnnRectangle right
)
C++/CLI 
public:
bool operator !=( 
   AnnRectangle left,
   AnnRectangle right
)

Parameters

left
The AnnRectangle structure on the left side of the inequality operator.
right
The AnnRectangle structure on the right side of the inequality operator.

Return Value

This operator returns true if left and right have unequal Width and Height values; otherwise false.

Example

For an example, refer to Equality.

Remarks

If the two rectangles have different units, comparison will be done after temporarily converted both to a common unit.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features