![]() Get data from multiple lists using Promise.Get list items created in current month.In the Categories list, choose Document Information. Show weather reports on SharePoint page To insert the total number of pages in your document, follow these steps: Position the insertion point where you want the total number of pages to appear.Next Next post: Adding a custom task in Excel add-in VSTO application Categories ![]() Simple as this you can accomplish what is requested. Range footer = įooter.Collapse(WdCollapseDirection.wdCollapseStart) į(footer, WdFieldType.wdFieldNumPages) į(footer, WdFieldType.wdFieldPage) įeel to extend it and use this code. Now looking back, code seems to be easy, but believe me, wasn’t easy at all to put pieces side by side to obtain this effect because there is lack of documentation about Word add-ins projects.įoreach(Section section in .Sections) It seems to be a special need for this, because sometimes people are requested to scan documents and miss some pages. I have spent hours to figure out how to do this. Adding “Page X of Y” pagination type into a Word document from C# into a Word add-in project can be very difficult.
0 Comments
Leave a Reply. |