GrapeCity SPREAD for Windows Forms 11.0J
IsPointInPicture メソッド


GDI+グラフィックスサーフェス
ポイントのX座標
ポイントのY座標
画像矩形
ピクチャ(画像)
ポイントがハイパーリンクコントロールのピクチャ内にあるかどうかを決定します。
構文
'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
'使用法
 
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
)

パラメータ

g
GDI+グラフィックスサーフェス
x
ポイントのX座標
y
ポイントのY座標
faceRect
画像矩形
pic
ピクチャ(画像)

戻り値の型

指定したポイントがピクチャ内にある場合はTrue、それ以外の場合はFalse
参照

FpHyperlink クラス
FpHyperlink メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.