The goal is the watermark style should be same in word and pdf. Currently we can be able to get the text, but we are facing issues with font size, color, and rotation angle. How to fix this? If there is any constant value we need to add or multiply to the shape property to get proper stamp property, we are ready to do that as well.
This Topic is created by alexey.noskov using Email to Topic tool.
You can please check the documentation article on how to add text stamp in a PDF document. The linked example contains code that shows how to set font size, font, rotation and properties for the text stamp. As per your discussion in other thread, you can use Aspose.Pdf.Drawing in Linux + .NET Core to get better and expected results.
Question Is there any way to create the same watermark from shape to text stamp without using image stamp or drawing library? If yes, please correct our source code and reply to us. Thanks.
Only if this is not possible will we be interested in proceeding with another approach.
No there is no way to achieve what exactly you are expecting.
However, if you are able to extract text from watermark from Word document using Aspose.Words, you can use same styles in Aspose.PDF to add the text stamp inside PDF document as shared in our previous response. Please feel free to let us know in case you have further inquiry or more concerns.