Help > Web Development > Object Reference > Object Reference > ISYSDocument > Lines Method
<a name="kanchor333"></a>ISYSDocument:Lines Method
Returns an array of lines.

Syntax
[VBScript]
function ISYSDocument.Lines(_
  long Index, _ 
  long Count, _ 
  ISYSLineStyle Style_ 
) as variant
[C#]
System.Object ISYSDocument.Lines(
  long Index, 
  long Count, 
  ISYSLineStyle Style
);
[ColdFusion/Java]
System.Object IISYSDocument.Lines(
  long Index, 
  long Count, 
  ISYSLineStyle Style
) throws ComException;
Parameters
IndexThe first line to be returned.
CountThe number of lines to return.
StyleThe formatting style to apply to the text.
isysStyleRaw0
isysStylePlain1
isysStyleHTML2

Examples
[VBScript]
<% ' Get the document object Set Document = Results.Item(i) ' Request the first 200 lines LineCount = Document.LineCount if LineCount > 200 Then LineCount = 200 Lines = Document.Lines(1, LineCount, isysStyleHTML) For I = LBound(Lines) to UBound(Lines) Response.Write Lines(I) & "<br />" Next %>