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 > AnnPoint Structure : Inequality Operator


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

Syntax

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

Parameters

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

Return Value

This operator returns true if left and right have unequal X and Y values; otherwise false.

Example

For an example, refer to Equality.

Remarks

If the two points have different units, the comparison will be done after temporarily converting 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