Page 1 of 1

Vertical centered align in TRVReportHelper

Posted: Tue Jan 05, 2010 7:47 pm
by emo
Hi.
Does VAlign propertry in TRVReportHelper have any affects?
I set its value but nothing happened.

RVReportHelper1.RichView.VAlign:=tlCenter;

Then I draw to MetaCanvas

RVReportHelper1.DrawPage(1, MetaCanvas, False, Height);

It seems text is shown always as VAlign=tlTop.

I would like to have centered vertically text, but couldn't get it with TRVReportHelper component.

In RichViewEdit VAlign works properly and I can see vertical centered text.
Is it possible to format text and set VAlign:=tlCenter with TRVReportHelper also?

Posted: Wed Jan 06, 2010 4:34 pm
by Sergey Tkachenko
Sorry, no, this property is not used in RVReportHelper.
Use coordinates in DrawPageAt to draw in center.