Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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