Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Fri Sep 05, 2014 1:10 pm

Hello,

How to check if a customproperty already exists ? to prevent to add it twice and have an error.

thank you.

tarikzaid
 
Posts: 29
Joined: Wed Aug 06, 2014 7:16 am

Mon Sep 08, 2014 6:39 am

Hello,
Sorry for late reply as weekend.
There is a property in doc you can use
Code: Select all
Document doc = new Document();
doc.LoadFromFile("test.doc",FileFormat.Doc);
doc.CustomDocumentProperties.....

If there are any questions, welcome to get it back to us.
Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Sep 11, 2014 9:59 am

Hello,

Has the issue been resolved? Could you please give us some feedback if convenienece?

If there are any questions, welcome to get it back to us.
Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.Doc