Page 1 of 1
TRVReportHelper and clipping
Posted: Tue Sep 25, 2007 8:23 am
by sh17
Hello!
TRVReportHelper don't support clipping. How can i realise this?
Sven
Posted: Tue Sep 25, 2007 9:59 am
by Sergey Tkachenko
Sorry, which kind of clipping do you need?
Posted: Tue Sep 25, 2007 10:15 am
by sh17
I init the reporthelper with a specific width (in pixel accordingly to resolution of the printer)
the style ist set to NoWrap
But if I print out a long line text, it is printed over right border. I would clip the text at this border.
What can i do?
Sven
Posted: Tue Sep 25, 2007 10:30 am
by Sergey Tkachenko
You can do it yourself.
Before drawing page, call IntersectClipRect(Canvas.Handle, Left, Top, Right, Bottom), where Rect(Left, Top, Right, Bottom) is a clipping area.
Posted: Tue Sep 25, 2007 10:41 am
by sh17
Thanks