Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Jaakov_Jalink@adobeforums.com #1
how do i Remove WaterMarks / Stamps with SDK?
Hi,
I have added watermarks to a couple of thousand files in our DB - using API, these are status watermarks that should change when the relevant object changes status. I originally intended to do it by keeping the source files (without watermarks) and using them as base for the new watermark, but apparently the source is not always available and i have to remove the watermarks.
We have Acrobat 8.1 pro, and can remove the watermark easily through UI, but I can't find the way to do it through API.
I have both "addWaterMarkFromText" with status date and "addWatermarkFromFile" with status stamp on each file.
I tried and got false on:
pdApp.MenuItemExecute("COMP:RemoveWatermark")
I tried the OCG approach:
'get the OCG's
Dim OCGs As Object
OCGs = jsObj.getOCGs(0)
For i As Integer = 0 To OCGs.length - 1
If OCGs(i).name = "WaterMark" Then
OCGs(i).state = False
End If
Next
It finds one watermark OCG on the first page but doesn't turn it off.
keep in mind that i do want a watermark OCG - but a new one with the new status
Anyone knows how i can do it?????
Jaakov_Jalink@adobeforums.com Guest
-
customized stamps
Hi, I work for a large firm that uses PDFs to send out to the people who review them. They use stamps to do so, but within the firm we would like... -
Printing Stamps
I'm using the 5.0.5 version of acrobat. We use a custom draft stamp when we send items to clients. Is there a way to be sure that the "draft" prints... -
How to add my customize stamps to PDF?
I could only add the default stamps that come with the Acrobat, how could I add my customize stamp to PDF? Thank you for your help Goran -
WATERMARKS, SLIDESHOWS ETC
How does the watermark work or slideshow pictures to EXE work? -
Leonard_Rosenthol@adobeforums.com #2
Re: how do i Remove WaterMarks / Stamps with SDK?
There is no Javascript API for removing a watermark.
Leonard_Rosenthol@adobeforums.com Guest
-
Jaakov_Jalink@adobeforums.com #3
Re: how do i Remove WaterMarks / Stamps with SDK?
Hi Leonard,
Is there any other way - short of UI send keys to do it???
should i give up on this and only concentrate on finding the unstamped files???
Thanks,
JJ.
Jaakov_Jalink@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #4
Re: how do i Remove WaterMarks / Stamps with SDK?
You could write a custom plugin in C/C++ to remove them if it's important enough...
Leonard_Rosenthol@adobeforums.com Guest
-
Jaakov_Jalink@adobeforums.com #5
Re: how do i Remove WaterMarks / Stamps with SDK?
Can you point me to some sample C/C++ plugin??
Jaakov_Jalink@adobeforums.com Guest
-
Bernd Alheit #6
Re: how do i Remove WaterMarks / Stamps with SDK?
There are many samples in the SDK.
Bernd Alheit Guest
-
Jaakov_Jalink@adobeforums.com #7
Re: how do i Remove WaterMarks / Stamps with SDK?
Thanks, I'll check there.
Jaakov_Jalink@adobeforums.com Guest



Reply With Quote

