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.

Mon Jul 06, 2020 9:58 pm

Hello,
I am doing some testing with the library to decide whether to buy it, I am trying to add a watermark to a docx, it adds but when I check the docx the brand is contracted, I am using the following code:

TextWatermark txtWatermark = new TextWatermark();
txtWatermark.setText(District);
txtWatermark.setFontSize(20);
txtWatermark.setSemitransparent(true);
txtWatermark.setColor(Color.black);
txtWatermark.setLayout(WatermarkLayout.Diagonal);
document.setWatermark(txtWatermark);

I am using the Free version, is this a limitation?

cristianpina
 
Posts: 1
Joined: Mon Jul 06, 2020 9:44 pm

Tue Jul 07, 2020 2:16 am

Hello,

Thanks for your inquiry.
Do you mean the added watermark text is blurry? I tested your code with the latest Free Spire.Doc for Java Version:2.7.3, but it could work well, please see the screenshot below. To help us further investigate your issue, please provide your input file and your test environment information, such as OS information (E.g. Windows 7, 64 bit) and region setting (E.g. China, Chinese). You could send it to us ([email protected]) via email.

My_output.png

In addition, I also recommend you test your case with our commercial version (the latest version is Spire.Doc for Java Version:3.6.7) as it is more stable and contains more bug fixes.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Mon Jul 20, 2020 11:31 am

Hello,

Hope you are doing well.
How is your issue now? Could you please give us some feedback at your convenience?
Thanks in advance.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.Doc