Vertical centered align in TRVReportHelper

General TRichView support forum. Please post your questions here
Post Reply
emo
Posts: 8
Joined: Wed Nov 21, 2007 7:40 pm

Vertical centered align in TRVReportHelper

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, no, this property is not used in RVReportHelper.
Use coordinates in DrawPageAt to draw in center.
Post Reply