Open Workaholic01 opened 1 year ago
Word writes down information about pages but its what Word does. There is no way to tell programmatically which page we are on.
Not necessarily as in which page number we are at. But I want to add a text along with page number. e-g PageSide-1 , PageSide-2
It's not exposed. It would require some work to expose FieldCodes and add dummy/empty Run before and after to allow manipulation.
Hi,
Is there a way to get current page number. I am using Office IMO? I know we can add it by
document.Header.Default.AddPageNumber(WordPageNumberStyle.PlainNumber)
But not sure how to get it. I want to display it with custom text.
Thank you.