How to center to page rather than margins

Integration questions/issues
Post Reply
robertotomas
Posts: 26
Joined: Thu Aug 31, 2017 4:05 pm

How to center to page rather than margins

Post by robertotomas » Fri Jan 05, 2018 4:51 pm

I know to use `oParagraph.SetJc("center")` to get a centered paragraph for insertion .. but how can I insert , for example a banner header, centered across the entire top of the page?

The bounds I know that we need are to support 1inch left and right margins, and to center the content.

Maxim
Posts: 1751
Joined: Tue Oct 11, 2016 2:34 pm

Re: How to center to page rather than margins

Post by Maxim » Tue Jan 09, 2018 7:37 am

Hello robertotomas!
I suppose it will help you!

Post Reply