Create DocX with different page orientation

Example: How to use TRichView to create a DocX file from several documents, each having different page orientation

A new demo: how to create a DocX file from several documents. Each document may have its own page orientation (portrait or landscape).

This demo uses hard-coded A4 page size, but it is very easy to modify it to use different page sizes (they may be different for each document inside the resulting DocX)

This demos uses undocumented features (it creates a new item type that represents a section break in DocX), but it is very simple.

The demo is added to the support forum: https://www.trichview.com/forums/viewtopic.php?p=38429#p38429

Share this article

Leave a Comment

Your email address will not be published. Required fields are marked *