-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Current Page No of Word Document. - Office IMO #111
Comments
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. OfficeIMO/OfficeIMO.Word/WordPageNumber.cs Lines 163 to 207 in ca19cef
|
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.
The text was updated successfully, but these errors were encountered: