Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Mon Feb 07, 2022 5:49 am

Can we remove applied watermark text from xlsx, pdf file?

DeepakBhosale
 
Posts: 1
Joined: Tue Jan 25, 2022 4:48 am

Mon Feb 07, 2022 6:40 am

Hello,

Thanks for your inquiry!

Did you apply the text watermark to XLSX and PDF through our Spire.Xls and Spire.PDF?

If so, for the PDF file, sorry that we cannot change or delete the text which has drawn into the page of the PDF. Hope you can understand.

But for the XLSX file, please refer to the following code to remove the text watermark you applied.

Code: Select all
            Workbook workbook = new Workbook();
            workbook.LoadFromFile(path);
            foreach(Worksheet sheet in workbook.Worksheets)
            {
                sheet.PageSetup.LeftHeader = "";
            }


If you have any other questions, just feel free to contact us.

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Wed Mar 02, 2022 6:03 am

Hello,

Hope you are doing well!

Has the issue been solved now? Could you please give us some feedback at your convenience?

Thanks in advance.

Sincerely,
Marcia
E-iceblue support team
User avatar

Marcia.Zhou
 
Posts: 858
Joined: Wed Nov 04, 2020 2:29 am

Return to Spire.XLS