|   
 
 
 | 
						
							
								| PtInRegion The PtInRegion function determines whether the specified point is inside the specified region. | VB4-32,5,6 Declare Function PtInRegion Lib "gdi32" Alias "PtInRegion" (ByVal hRgn As Long, ByVal x As Long, ByVal y As Long) As Long
 | 
 
 | VB.NET System.Drawing.Region
 | 
 
 | Operating Systems Supported | 
 | Requires Windows NT 3.1 or later; Requires Windows 95 or later | 
 
 | · hrgn Identifies the region to be examined.
 
 · X
 Specifies the x-coordinate of the point.
 
 · Y
 Specifies the y-coordinate of the point.
 | 
 | If the specified point is in the region, the return value is nonzero. 
 If the specified point is not in the region, the return value is zero.
 | 
 
 
     |  |  |