XFINIUM.PDF Documentation
IsPointInRectangle(Double,Double) Method



Xfinium.Pdf.Graphics Namespace > PdfVisualRectangle Class > IsPointInRectangle Method : IsPointInRectangle(Double,Double) Method
The x coordinate.
The y coordinate.
Tests if the given point is located inside the rectangle.
Syntax
'Declaration
 
Public Overloads Function IsPointInRectangle( _
   ByVal x As Double, _
   ByVal y As Double _
) As Boolean
'Usage
 
Dim instance As PdfVisualRectangle
Dim x As Double
Dim y As Double
Dim value As Boolean
 
value = instance.IsPointInRectangle(x, y)
public bool IsPointInRectangle( 
   double x,
   double y
)
public:
bool IsPointInRectangle( 
   double x,
   double y
) 

Parameters

x
The x coordinate.
y
The y coordinate.

Return Value

True if the point is located inside the rectangle, false otherwise.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfVisualRectangle Class
PdfVisualRectangle Members
Overload List