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

Free Support Forum - aspose.com

Replacing field code with any custom text


we are working on Aspose .Net latest evaluation version.

what we wish is to make the autodate and autopath fields static in a word document.

For that, we are following this process-

1. Storing the original value of a field

2. Deleting the field code.

But this method doesn't seem to work correct.

Now we wish to replace the field code with any custom text. this would make these autodate and autopath fields static and values will not get updated.

Kindly tell me that how to replace the field code.

I searched on forums but i couldn't find node.setText method.

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. I think you should use the same technique as described in the following forum thread for breaking links.

Hope this helps.

Best regards.