PDF Export Text vertical alignment

Stimulsoft Reports.JS discussion
Post Reply
xinaris
Posts: 5
Joined: Mon Dec 26, 2016 1:27 pm

PDF Export Text vertical alignment

Post by xinaris »

Hello,

I have a problem when exporting to PDF. I can see all the text components of the report from being in the middle in the Report Viewer, when export they appear at the bottom. Is there a way to fix this, or any other solution I have to follow?

I attached some screenshots.

Thank you.
Attachments
In the report viewer
In the report viewer
stimul.png (10.33 KiB) Viewed 1717 times
Export to PDF
Export to PDF
stimul_export.png (12.88 KiB) Viewed 1717 times
xinaris
Posts: 5
Joined: Mon Dec 26, 2016 1:27 pm

Re: PDF Export Text vertical alignment

Post by xinaris »

I found the problem.

For some reason (I copied from somewhere) I had .vertAlignment = "center" for all Text Components. That is fine for Report viewer but for export does not work.
Changing it to .vertAlignment = 1; is working fine for both.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: PDF Export Text vertical alignment

Post by HighAley »

Hello.

Could you specify which version of our product you use?
Could you send us a sample report template that reproduces the issue?

Thank you.
Post Reply