Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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
)
Managed Extensions for C++ 
public: bool op_Inequality( 
   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 op_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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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