Note: You must be registered in order to post a reply.To register, click here. Registration is FREE!
var idx, outIndex, outLength: Integer; s: String; begin Memo1.Clear; idx := 0; While idx < MAXINT do // Infinite loop begin ImageEnView1.PdfViewer.CharIndexToLine( idx, outIndex, outLength ); if outLength = 0 then BREAK; s := ImageEnView1.PdfViewer.GetText( outIndex, outLength ); memo1.Lines.Add( outIndex.ToString + ',' + outLength.ToString + ': ' + Trim( s )); idx := outIndex + outLength + 1; end; end;