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