Spread Windows Forms 8.0 Product Documentation
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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

FpHyperlink Class
FpHyperlink Members

 

 


Copyright © GrapeCity, inc. All rights reserved.