PDFView4NET WPF Edition
Contains Method




O2S.Components.PDFView4NET Namespace > DisplayRectangle Class : Contains Method
Tests if this rectangle contains the given point.
Syntax
'Declaration
 
Public Function Contains( _
   ByVal x As Double, _
   ByVal y As Double _
) As Boolean
'Usage
 
Dim instance As DisplayRectangle
Dim x As Double
Dim y As Double
Dim value As Boolean
 
value = instance.Contains(x, y)
public bool Contains( 
   double x,
   double y
)
public: bool Contains( 
   double x,
   double y
) 
public:
bool Contains( 
   double x,
   double y
) 

Parameters

x
y

Return Value

True if the rectangle contains the point, false otherwise.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DisplayRectangle Class
DisplayRectangle Members