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 Mar 16, 2018 1:01 pm

Hello, my question :
I have a doc file with a text watermark.
How can remove one/all watermark of a document after open the Word file?

LKS
 
Posts: 7
Joined: Tue Oct 28, 2014 12:21 pm

Mon Mar 19, 2018 2:57 am

Hello,

Thanks for your inquiry. Please refer to the below code snippet do remove the watermark.
Code: Select all
            Document doc = new Document(@"watermark.docx");

            //remove wartermark
            doc.Watermark = null;

            doc.SaveToFile("removeWatermark.docx",FileFormat.Docx2010);


Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Thu Mar 22, 2018 3:17 am

Hello,

Greeting from E-iceblue.
Did you try the code I provided? How is it going?
We will appreciate it if you could give us some feedback.

Best regards,
Simon
E-iceblue support team
User avatar

Simon.yang
 
Posts: 620
Joined: Wed Jan 11, 2017 2:03 am

Fri Feb 15, 2019 3:54 pm

Hello,
Can the free spire delete watermark?
I copied your code exactly and a got a null exception.

Please advise,
Vicki.

vicki.tran@tws.sc
 
Posts: 1
Joined: Thu Sep 15, 2016 3:59 pm

Mon Feb 18, 2019 2:44 am

Hello Vicki,

Thanks for your post.
Our older free Spire.Doc version indeed exists the issue you encountered. Please download and try our latest free Spire.Doc 7.1 which supports it well. If there is still any issue after trying, please provide your input document to help us further look into your issue. You could send it to us via email(support@e-iceblue.com).

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Tue Feb 26, 2019 5:59 am

Hello Vicki,

Greetings from E-iceblue.
Has your issue beed resolved with the latest version? Thanks in advance for your feedback and time.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.Doc