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



pt
The PointF structure to be tested.
pt
The PointF structure to be tested.
Determines if the specified point is contained within this LogicalRectangle structure.

Syntax

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

Parameters

pt
The PointF structure to be tested.

Return Value

This method returns true if the point represented by the pt parameter is contained within this LogicalRectangle structure; otherwise false.

Remarks

The point is treated as if its in the same unit as the LogicalRectangle.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features