Free Support Forum - aspose.com

Check to see if header has a particular custom document property

Hi there,

I need to check if a document header(s) got a particular custom header property. if not then I am showing some message to the user.

I am using c#

Any advise?

@arihoq,

To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:

  • Your simplified input Word document with header containing custom property
  • Your expected document which shows the correct output. Please create this document by using Microsoft Word application.
  • Please also list the complete steps that you performed in MS Word to get the desired output.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you code to achieve the same by using Aspose.Words. Thanks for your cooperation.