We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Controlling page numbering when combining files

I’m running into the issue with page numbers when combining files that is described here:

http://www.aspose.com/docs/display/wordsnet/Controlling+How+Page+Numbering+is+Handled

When I try to use the code that replaces NUMPAGES field with PAGEREF. I get the following errors.

The name ‘GetFieldCode’ does not exist in the current context

and
The name ‘RemoveField’ does not exist in the current context

I am including using Aspose.Words.Fields; at the beginning of the class file.

Am I missing something or are these methods no longer supported?

Never mind, it’s working. I found the required code in the Examples project.

thanks!

Hi Doug,


Thanks for your inquiry. It is great you were able to find what you were looking for. Please let us know any time you have any further queries.

Best regards,