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


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

Syntax

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

Parameters

left
The AnnSize structure on the left side of the inequality operator.
right
The AnnSize 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 sizes have different units, 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