Add auto scale watermark to PDF in PHP depending on the length of the string

@tilal.ahmad

We are in a situation where we want the Watermark string to auto-scale to adjust the length(In case the string is very long).
And can it be auto-centered from the bottom left to the top right?
I know that there are settings like

setTop
setLeft
setRotationAngle

Thank you,
Gopal

@gopalsharma

We will appreciate it if you please share a sample existing output and expected output document. It will help us to address your issue exactly.

@tilal.ahmad
Gr5TheEiffelTower (1).pdf (412.9 KB)

The attached document is watermarked with the name, for example if someone name is big then it should auto scale and even if some one name is small, again auto-scale and center it.
Gr5TheEiffelTower (2).pdf (417.8 KB)

Let me know if this helps.
Thank you,
Gopal

@gopalsharma

Thanks for sharing the sample documents. We have logged a new feature request(CONVERSIONCLOUD-421) for your requirement and will keep you updated about the issue resolution progress within this forum thread.

1 Like