LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Contains(LeadRect) Method
See Also 
Leadtools Namespace > LeadRect Structure > Contains Method : Contains(LeadRect) Method



rect
The LeadRect structure to be tested.
rect
The LeadRect structure to be tested.
Determines if the rectangular region represented by rect is entirely contained within this LeadRect structure. Supported in Silverlight, Windows Phone 7

Syntax

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

Parameters

rect
The LeadRect 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 LeadRect; otherwise false.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also