Keyoti RapidFindReplace WPF API Docs
HitPosition Method (ptr, hitLength, ptrOffset, gobbledChars)
API DocumentationKeyoti.RapidFindReplace.WPFRunQueueHitPosition(Int32, Int32, Int32%, Int32%)
Keyoti RapidFindReplace WPF
Gets the Run for a hit (measured relative to the queue start).
Declaration Syntax
C#Visual BasicVisual C++F#
public Run HitPosition(
	int ptr,
	int hitLength,
	out int ptrOffset,
	out int gobbledChars
)
Public Function HitPosition ( 
	ptr As Integer,
	hitLength As Integer,
	<OutAttribute> ByRef ptrOffset As Integer,
	<OutAttribute> ByRef gobbledChars As Integer
) As Run
public:
Run^ HitPosition(
	int ptr, 
	int hitLength, 
	[OutAttribute] int% ptrOffset, 
	[OutAttribute] int% gobbledChars
)
member HitPosition : 
        ptr : int * 
        hitLength : int * 
        ptrOffset : int byref * 
        gobbledChars : int byref -> Run 
Parameters
ptr (Int32)
Hit start relative to queue start
hitLength (Int32)
Hit length
ptrOffset (Int32%)
Hit start relative to Run start
gobbledChars (Int32%)
Number of characters hit in the Run, if a hit spans multiple Runs then gobbledChars<hitLength.
Return Value

Assembly: Keyoti4.RapidFindReplace.WPF (Module: Keyoti4.RapidFindReplace.WPF.dll) Version: 1.0.14.531 (1.0.14.531)