FlexReport for WinForms
HitTest メソッド (C1TextLayout)


C1.Document アセンブリ > C1.Document.Util 名前空間 > C1TextLayout クラス : HitTest メソッド
The pixel location X to hit-test, relative to the top-left location of the layout box.
The pixel location Y to hit-test, relative to the top-left location of the layout box.
Use this function passing in a specific pixel location relative to the top-left location of the layout box and obtains the information about the correspondent hit-test metrics of the text string where the hit-test has occurred.
シンタックス
'宣言
 
Public MustOverride Function HitTest( _
   ByVal x As System.Double, _
   ByVal y As System.Double _
) As C1TextLayout.HitTestInfo
'使用法
 
Dim instance As C1TextLayout
Dim x As System.Double
Dim y As System.Double
Dim value As C1TextLayout.HitTestInfo
 
value = instance.HitTest(x, y)
public abstract C1TextLayout.HitTestInfo HitTest( 
   System.double x,
   System.double y
)

パラメータ

x
The pixel location X to hit-test, relative to the top-left location of the layout box.
y
The pixel location Y to hit-test, relative to the top-left location of the layout box.

戻り値の型

Returns C1TextLayout.HitTestInfo contains information about hit test.
参照

参照

C1TextLayout クラス
C1TextLayout メンバ