Page 1 of 1

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

Posted: Tue Aug 13, 2013 2:52 am
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 914 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 914 times
Demo Code :
StimulsoftApplication.rar
(15.15 MiB) Downloaded 151 times
Looking forward to your quick reply!Thanks!

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

Posted: Wed Aug 14, 2013 11:07 am
by HighAley
Hello.

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

Thank you.