Answer the question
In order to leave comments, you need to log in
How to find out how many lines fit on a page in OpenXML SDK?
I form a boundary plan according to the approved scheme.
Created an empty boundary plan in Word, generated C# code for it using the OpenXML SDK Tool.
It consists of several sections, each of which is represented by a table.
If the information does not fit on one sheet of any section, it is allowed to place them on several sheets or on the back of the corresponding sheet. In this case, on each sheet or on each page of the corresponding section, the following information is reproduced: the words "survey plan" and the name of the corresponding section of the survey plan
The only way that comes to mind is to estimate the amount of initial data and create its own table for each part of the data, while incrementing number of sheets.
The rows of the table have different heights, given in some units that I know about:
0.1 inches high = 144 twentieths of a point , where 144 are the same units
For each row, I can see the size in these units in the reflected code.
postimage.org/image/ehp5z0fol/
Answer the question
In order to leave comments, you need to log in
In Word, you can repeat the table headers (one or more top rows) on each sheet, and the title of the sections can probably be placed in the header (format sections as sections, you can set headers and footers for sections independently).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question