[ColdFusion/Java]
long IISYSDocument.GetLineWithHitBefore(
long Line
) throws ComException;
Parameters
Line
The line number before which to find the previous hit
Examples
[VBScript]
<%
' Execute the search object and get the resultsSet Results = ISYSSearch.Execute
' Get the first documentSet Document = Results(1)
' Display 3 line before the the last hit
lastHit = Document.GetLineWithHitBefore(Document.LineCount + 1)
For i = lastHit-3 downto lastHit
if i > 1 then Response.Write Document.Line(i, isysStylePlain)
Next%>