how to put the converted html in the middle of the page

Stimulsoft Reports.WEB discussion
Post Reply
Jia Sheng
Posts: 49
Joined: Thu Jul 04, 2013 7:59 am

how to put the converted html in the middle of the page

Post by Jia Sheng »

Question 1: The issue is that when we convert the report to Html file , The content of the converted html is in the left of the page .But We want to put the converted html in the middle of the page.What should I set the properties to solve the problem? Or write any code to solve the problem?
the converted html file like:
image.jpg
image.jpg (159.71 KiB) Viewed 911 times
Question 2:The converted html contains blank area between pages .How to remove the blank area?
image1.jpg
image1.jpg (184.15 KiB) Viewed 911 times
Demo Code :
StimulsoftApplication.rar
(15.15 MiB) Downloaded 151 times
Looking forward to your quick reply!Thanks!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: how to put the converted html in the middle of the page

Post by HighAley »

Hello.

Please, try to set the StiHtmlExportSettings.PageHorAlignment property to StiHorAlignment.Center.

Thank you.
Post Reply