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



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

Syntax

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

Parameters

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

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.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features