Visual Basic (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 |
Visual Basic (Usage) | Copy Code |
---|---|
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) |
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 otherwiseTarget Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8