Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Contains(AnnRectangle) Method
See Also 
Leadtools.Annotations Namespace > AnnRectangle Structure > Contains Method : Contains(AnnRectangle) Method




rect
The AnnRectangle structure to be tested.
Determines if the rectangular region represented by rect is entirely contained within this AnnRectangle structure.

Syntax

Visual Basic (Declaration) 
Overloads Public Function Contains( _
   ByVal rect As AnnRectangle _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnRectangle
Dim rect As AnnRectangle
Dim value As Boolean
 
value = instance.Contains(rect)
C# 
public bool Contains( 
   AnnRectangle rect
)
Managed Extensions for C++ 
public: bool Contains( 
   AnnRectangle rect
) 
C++/CLI 
public:
bool Contains( 
   AnnRectangle rect
) 

Parameters

rect
The AnnRectangle structure to be tested.

Return Value

This method returns true if the rectangular region represented by rect is entirely contained within the rectangular region represented by this AnnRectangle; otherwise false.

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