Spread Windows Forms 7.0 Product Documentation
IsPointInPicture Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > FpHyperlink Class : IsPointInPicture Method


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

Glossary Item Box

Determines if the point is in the picture of the hyperlink control.

Syntax

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)
C# 
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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.