Page 1 of 1

Draw text as selected throw TRVReportHelper

Posted: Thu Apr 09, 2009 11:45 am
by vit
Hi!
I using TRVReportHelper for drawing RTF text on Canvas. I want to represent selection a part of text by highlight. So how I can do it?
May be I can get somehow rectangles of all selected lines with offsets?

Thank you for any help!

Posted: Thu Apr 09, 2009 12:49 pm
by Sergey Tkachenko
TRVReportHelper does not support drawing selection.
You need either modifying the document before to change background colors, or use TRVStyle's custom drawing events (such as OnDrawStyleText)