Spread Windows Forms 11.0 Product Documentation
IsPointInPicture Method


FarPoint.Win Assembly > FarPoint.Win Namespace > FpHyperlink Class : IsPointInPicture Method
GDI+ graphics surface
X-coordinate of point
Y-coordinate of point
Image rectangle
Picture (image)
Determines if the point is in the picture of the hyperlink control.
Syntax
'Declaration
 
Public Shared Function IsPointInPicture( _
   ByVal g As Graphics, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal faceRect As Rectangle, _
   ByVal pic As Picture _
) As Boolean
'Usage
 
Dim g As Graphics
Dim x As Integer
Dim y As Integer
Dim faceRect As Rectangle
Dim pic As Picture
Dim value As Boolean
 
value = FpHyperlink.IsPointInPicture(g, x, y, faceRect, pic)
public static bool IsPointInPicture( 
   Graphics g,
   int x,
   int y,
   Rectangle faceRect,
   Picture pic
)

Parameters

g
GDI+ graphics surface
x
X-coordinate of point
y
Y-coordinate of point
faceRect
Image rectangle
pic
Picture (image)

Return Value

true if specified point is in the picture; false otherwise
See Also

Reference

FpHyperlink Class
FpHyperlink Members