Export as word document

Stimulsoft Reports.WPF discussion
Post Reply
saravanan
Posts: 1
Joined: Thu Jul 14, 2016 3:59 pm

Export as word document

Post by saravanan »

Hi,
I have an issue when I export as word( docx) document, where my reports are not aligned properly. If I uncheck "Use Page Header and Footers", it's working fine. How to override default export settings for word in Export setting dialog.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export as word document

Post by HighAley »

Hello.

You could do this with next code:

Code: Select all

StiSettings.Load();
StiSettings.Set(Name, "UsePageHeadersAndFooters", checkboxUsePageHeadersAndFooters.Checked);
StiSettings.Save();
Thank you
Post Reply