Hello VeryPDF Support,
Is it possible to set the backcolor of a text stamp? We have an instance where the desired font color is black and the entire document is redacted making it black as well, so the stamp is not visible (please see “black.pdf”).
In another instance, we have seen unusually large stamp on an image (please see “zoom.pdf”). Is there a setting to alleviate this from happening? We’re using veryAddTextEx().
Thank you!
===========================
>>Is it possible to set the backcolor of a text stamp? We have an instance where the
>>desired font color is black and the entire document is redacted making it black as
>>well, so the stamp is not visible (please see “black.pdf”).
You can use following code to stamp your PDF file, please refer to an example "black-out.pdf" file in attachment, this PDF file is stamped by following code, if you wish hide this text, you can simple set font color to black, then you will not able to see the text stamp,
~~~~~~~~~~~~~~~~
id=oTest.veryOpenEx(strInPDF, strOutPDF)
if id>0 then
'% Every even page%
'oTest.verySetFunctionEx id, 131, -2, -2, 0,0
oTest.veryAddTextEx id, 2, _
"This is a test.", _
2666666,17, _
0,200,0,0, _
0, _
0,0,32, _
0,0,0
oTest.veryCloseEx id
~~~~~~~~~~~~~~~~
>>In another instance, we have seen unusually large stamp on an image (please see “zoom.pdf”).
>>Is there a setting to alleviate this from happening? We’re using veryAddTextEx().
This is because the paper size in your PDF file is too small, please reduce the font size to 10 or 5 to try again, then you will able to stamp this PDF file correctly.