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 > 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
)
Managed Extensions for C++ 
public: bool op_Inequality( 
   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 op_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 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