I have played a lot with Richtextbox. but there are some treasures to be explored and here is one of them. I have two lines of text in a richtext box and the third line contains a big bitamp picture. Fourth line is again a normal text which contains a word called "mytext". If I search the text for "Mytext" , i get the line number as 4. u say obviously but I would say not. If you look carefully the bitmap is taking the space of more than one line. in this case the line containing "Mytext" should be somewhere in line 10, 11 or whatever depending upon the no. of lines occupied by the bitmap. If Im wrong in what i conceptualize then is there any way to solve my problem the way anyone understands it.