Can only get the "Draft" stamp when insert customer stamp with C#+JS

I am trying to insert customer stamp in batch files with C#+JS.
My JS works well in Acrobat. However, it doesn't work when use C#+JS. I always get the Acrobat's "Draft" stamp other than my own ones (the AP value is confirmed correct).
In c#, it runs as this ( with the objectype.InvokeMember())
1. initial an annotation with addAnnot first and get the properties object with method of getProp().
2. Set the type entry of the properties object as "Stamp"
3. With setProp(), modify the annotation to a Stamp annotation, and then get the properties object of the Stamp annotation.
4. Set the entries (rect, page, AP ) of the properties object. Then use setProp() again to modify the properties of the Stamp annotation.
The program runs without any error message. But I can only get the default stamp "Draft".
One thing I found so far, in JS console in Acrobat, if I set the AP properties AFTER set the annotation type to "Stamp", it also get the "Draft" stamp only. as this,
     annot = this.addAnnot();
     prop = annot.getProps();
     prop.type = "Stamp";
     annot.setProps(prop);
     prop = annot.getProps();
     prop.page = 0;
     prop.rect = [0, 0, 100, 100];
     prop.AP = "#xxxxxxxx";
     annot.setProps(prop);
If I set the prop.Ap before the forth line in above para, I can get the right stamp.
     annot = this.addAnnot();
     prop = annot.getProps();
     prop.type = "Stamp";
     prop.AP = "#xxxxxxxx";
     annot.setProps(prop);
     prop = annot.getProps();
     prop.page = 0;
     prop.rect = [0, 0, 100, 100];
     annot.setProps(prop);
Or, if I set the props in the typcial JS format like below, I also get the right one
annot = this.addAnnot({
type: stamp,
page: 0,
rect: [0,0,100,100]
AP: #xxxxxxxx)});
But, the problem is, in C#, the AP properties can only be set after set the annotation type as Stamp (step 4). I think this might be the reason, but I don't know how to get over this.
Please help. Thanks!

No, it can't – but you could do that yourself as part of the watermarking process (ie. Two watermarks or fields)
From: santa-satan <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Date: Mon, 6 Feb 2012 18:35:19 -0800
To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
Subject: Can only get the "Draft" stamp when insert customer stamp with C#+JS
Re: Can only get the "Draft" stamp when insert customer stamp with C#+JS
created by santa-satan<http://forums.adobe.com/people/santa-satan> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4190155#4190155

Similar Messages

  • How can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

    We need the Request Restart ability when scheduling a single reoccurring job in Redwood. Most of our jobs are scheduled in CHAINs which offers the Final Status Handler on Step level, and the schedule is "paused" when a job in the CHAIN has failed ( the next instance does not populate until the OP MSG has been Replied to) , and once the OPERATOR message is replied to, the CHAIN can resume running again ( desired ) . But we need this same ability when scheduling a single job not in a CHAIN. In our testing, we set up a job with Request Restart chosen on the Error , Killed and Unknown selections on the Restart Behavior Tab. But we found when a job is scheduled say once a day at 8AM, and when it fails, an OPERATOR msg appears allowing a Restart choice ( desired), but the next day's schedule also populates ( undesired) and we do NOT want the schedule to continue on yet because we need a chance to fix the error before the next insance runs for business reasons. So how can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

    Hello Fran,
    You can wrap the job chain in a master job chain in the first step and set the final status handler there.
    You can also set the Restart Behavior to 'Stop Submit Frame', in that case you will have to resubmit the job once you are finished troubleshooting.
    Regards Gerben

  • TS1538 iphone wont recognize in itunes. it's got the latest software update and the latest version of itunes on the computer. the phone works as normal but i want to restore it but can't because i can only get the the recovery mode stage and then it needs

    iphone wont recognize in itunes. it's got the latest software update and the latest version of itunes on the computer. the phone works as normal but i want to restore it but can't because i can only get the the recovery mode stage and then it needs itunes???

    Follow this very helpful user tip by wjosten:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • I have an itouch, most songs i got off my cd's. i have a new laptop and want to put songs from itouch to laptop.I can only get the songs that i purchased onto the laptop? need help with how to get the rest from itouch to laptop please??

    i have an itouch, most songs i got off my cd's. i have a new laptop and want to put songs from itouch to laptop.I can only get the songs that i purchased onto the laptop? need help with how to get the rest of the songs (from my cd's) from itouch to laptop please??

    See this previous discussion:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • HT4437 I have an iPhone 4 and I can only get the audio in AirPlay/mirroring but no video!  Please help!

    I have an iPhone 4 and I can only get the audio in AirPlay/mirroring but no video!  Please help!

        ktrow,
    We are going to get you up and running with all picture text messages. Have you ever been able to receive picture messages in a group text before? Can ou please check some settings for me. Let's go into Settings, Messages, and is MMS Messaging swich green? How about the Group Messaging switch? If they are green, go ahead and switch those off for a few seconds and then turn them back on. Then re-try the picture message. One last thing, you can also try to reset the network settings. Settings, General, Reset, Reset Network Settings. Please keep us posted.
    KevinR_VZW
    Please follow us on Twitter @VZWSupport

  • I recently bought a new macbook pro and set it up using the migration assistant and my mac mini.  I can't get the text message forwarding feature to work with both computers.

    I recently bought a new macbook pro and set it up using the migration assistant from my mac mini.  I can't get the text message forwarding feature to work with both computers.  It keeps saying that I only have 2 devices setup, my iPad and my macbook pro.  When I mess with the setting on my mac mini, it goes from saying that that is one of the devices to my macbook pro being the 2nd device.  I think that something happened as a result of my using the migration assistant and now it thinks that my macbook pro and my mac mini are one and the same computer.  Any ideas?

    Thanks, Sig.
    The old computer is a 2.6 Ghz Intel Core 2 Duo
    The new one is a 2.3 GHz intel core i7
    In going over this, thanks to "tallking it out" with you, I did discover the Text Edit problem.  Because I've still been unable to get the new computer text size (fonts or whatever) to match the old computer, I did not notice that the curser is now different--the line midway down the curser has to be placed on the line I am working upon, otherwise the edits go elsewhere on the page.  Now, with a bit of difficulty, I am able to get Text Edit to work correctly.
    If you have any ideas as to why my menu bar and Text Edit type are still so slow, I'd love to have them. 
    (I went through the process you suggested earlier, re my Trackpad preferences, and found no improvement.)

  • I can not get the flash player plug in to work with Internet Explorer

    I can not get the flash player plug in to work with Internet Explorer

    Zoltan71 wrote:
    I just bought this computer. My Internet Explorer is version 11.0.1
    I have the box checked to Install new version automatically, but it has not done any upgrading.
    I can't get the computer to update anything as far as I can see.
    The flash plug in does work with the Crome browser but it will not work with Internet explorer.
    I looked in the manage add-ons and it says enabled.
    I also went into the safety tab and deselected
    Active X filtering.
    Restarted and still does not work.
    I need help.....
    Chrome uses a different and separate plug-in.
    There are things about IE you need to know, especially 11. Specifically:
    "User-Agent Strings"
    That doesn't mean a lot, I'm sure, but it's the root of your problems, and Flash Player has nothing to do with it.
    Microsoft "rewrote" the User-Agent Strings for the abomination they call their latest and greatest browser. User-Agent Strings are what websites use to identify the browser you're using and provide the proper content for it's browser engine, like ActiveX stuff, and Flash or HTML5 video. Thanks to the geniuses in Redmond, WA, the User-Agent Strings for IE11 (which has a Trident engine), ID it as either "Gecko" (Firefox) or "Webkit" (Chrome). Problem is: when the site the directs to the content for one of these two engines, the Trident engine in IE can't intepret it and the site then sees IE as an "unidentified" browser.
    The problem with an unidentified browser is that the plug-ins in that browser aren't recognized either, so even though you're up to date, it says you need the latest Flash Player when you use IE11. YouTube... has converted to HTML5 video so if it doesn't detect Flash Player, it can display HTML5 (MP4) video which requires no plug-in to play. Facebook can't do that, because HTML5 doesn't apply to games... only video.
    Microsoft has no plans to "fix" the mess they've created because they think it's a great idea to block you out of the websites you visit.
    They recommend using "Compatibility View" and pretending that you're using an older verison of IE... Problem with that is that it's seen limited success, and you have to enable it for EVERY page that has problems... individually.
    I'm not big on "pretending" so I recommend actually using another browser.
    Firefox (from Mozilla)
    Opera (from Opera)
    Safari (from Apple)
    Chrome (from Google)
    ANY of those will work where IE11 won't, with the Flash Player Plug-in (For all other browsers), and Chrome doesn't even need that because it has its own Flash Player plugin built in.

  • How can I get the phone numbers in contacts to appear with dashes between the first 3 numbers, the next 3 numbers, and the last 4 numbers?  Until very recently it did so.  Contacts on my macbook pro does show up this way.  I do have a mobile me account an

    How can I get the phone numbers in contacts to appear with dashes between the first 3 numbers, the next 3 numbers, and the last 4 numbers?  Until very recently
    it did so.  Contacts on my macbook pro does show up this way.  I do have a mobile me account and in the past syncing was no problem.  What setting has changed?

    The phone number format as well as the date language and format and the time format are controlled by the Region Format setting. Go to Settings > General >International > Region Format.  When you change a region format, you can go back one page (to International) and see an example of the date/time/phone number format that your selected region format will produce.

  • I bought the Mac version of Premiere Elements, can I get the Windows version for free or cheap with my serial number?

    I bought the Mac version of Premiere Elements, can I get the Windows version for free or cheap with my serial number? I'm about to migrate back to PC soon and I'd love to not have to buy the program again since I just bought it. Under my order history though it only shows it for Mac so I wanted to make sure.

    ihavea4
    The boxed packaging is not sold by Adobe direct. If you want to explore that type of purchase which offers the perk of a Windows and a Mac installation disc, you need to purchase from an authorized reseller who is not going to offer you "upgraded pricing". The seller would be its own entity with its own pricing and own return/refund policy. Sometimes the authorized reseller price may be less than the Adobe"upgraded pricing".
    Did you purchase your Premiere Elements 13 Mac from Adobe direct and are within 30 days of purchase? If so, you can contact Adobe Chat Orders to ask for return/refund. And, then you can explore the authorized resellers for pricing and availability of the box packaging. Maybe check out the pricing all around before making any final decisions.
    Please review and consider.
    Thank you.
    ATR

  • Terrance Devlin answered a question about iPhoto (4-2012) re:copying iPhoto Library to an ExHD, and losing all the albums. I can't locate the "Choose Library" when I open iPhoto with the opt button. Can anyone help?

    I tried to move my images (over 25,000) to an External Hard drive to open up some memory, hoping to make my computer run faster. It took three hours to move the images and I see them all in the mac's menus. However when I try to open them with iPhoto now, none appeared. and when I tried to import them back to the main HD they come in to iPhoto just fine, but not with the albums nor any of the massive organization i'd created in the original. this represents years of images, and I can't imagine that I'd have to recopy them into folders/albums again.
    Terrance Devlin answered a similar question back in April of last year. He said to make sure the ExHD is formatted to MAC OS Extended (Journaled) and to move the library to the ExHD and then open iPhoto with the option button and select "Choose Library" from the resulting menu.
    Command "I" tells me that the new drive is formatted correctly. I can't locate the "Choose Library" when I open iPhoto with the opt button.
    First, I wondered if the application needs to be on the same drive as the Library. I sure would like to know if I can find out how to restore all the folders I had them in. Terrance's advice helped the user that had asked the question.
    Here's the url for that archived discussion: https://discussions.apple.com/thread/3849933?start=0&tstart=0
    Can anyone help? I'm using iPhoto 5. My MAC is an OS X version 10.4.11.
    thanks, brokenlom

    Here are Apple's instructions:
    If you are using iPhoto ’06 or earlier, you will need to follow these steps to tell iPhoto where the Library is now located:
    Hold down the Option key on the keyboard and open iPhoto. Keep the Option key held down until you are prompted to create or choose an iPhoto Library.
    Click Choose Library.
    Locate and select the iPhoto Library in its new location.
    (from http://support.apple.com/kb/HT1229 )
    Below (in the link below) is what you should see when holding down the option key and opening iPhoto. Keep holding down the option key until this dialogue comes up. You want to select the Choose Library button.
    http://appleclinic.wordpress.com/2008/04/06/change-default-dir-iphoto/

  • HT4112 I can not get the 2003 Bluetooth wireless keyboard to pair with my ipad.  How do I do this?  According to the information above, this IS possible...

    I can not get the 2003 Bluetooth wireless keyboard to pair with my ipad mini, 32gb wifi.  How do I do this?  According to the information above, this IS possible...

    Never mind...  Didn't see the "not compatible"...  Stupid...  It's bluetooth.  Bluetooth apple should connect to bluetooth apple...  Period...

  • How can I get the code to synchronize my Iphone 5 with my Itunes?

    how can I get the code to synchronize my Iphone 5 with Itunes?

    By code, I think you are referring to the code on your iPhone.  To sync for the 1st time with iTunes you'll need to enter the code on your iPhone to unlock it.  Typically if your phone is unlocked and then connected to your computer, it will lock itself.  Just reenter the code.  Then you should get another prompt on your iPhone to "trust" your computer so you can sync with it.

  • HT201177 On this iPad When I am in camara I can only get camara nothing happens when I press vidio this only since I downloaded the latest update

    OOn my iPad when I go to camara I can only get camara when I press video nothing happens this is since i downloaded the latest upgrade

    Thank you it worked. Why didn't Apple tell me when I downloaded IS O7, windows would have.
    next problem I can not use the search bar In YOUTUBE it crashes when I try is this to do with IS O7?

  • Where can i get the time stamp in Messaging Multiplexor's log?

    i have modify the loglevel to 10,but i can only find the date informatioin in mmp's log like this:
    20060317 000000 PopProxyAService.cfg (sid 0xd100c4) USER login
    which is the "time" stamp and what's it means?
    i have read the Administration Guide/Reference,but didn't find session abt it.
    where can i get some documents abt how to read the mmp's log file?
    thx!

    bash-2.05# tail -2 /mypath/PopProxy_20060317.log
    20060317 052425 PopProxyAService.cfg (sid 0x6a2044) 12 C->S bytes, 34 S->C bytes in 0 seconds
    20060317 052425 PopProxyAService.cfg (sid 0x6a2044) session end
    bash-2.05# date
    Fri Mar 17 13:24:26 CST 2006but 52425/3600=14.6h=14:36
    that's different, i don't know the reason. does sth. wrong with my mmp?
    thx in advance!
    btw:you are respect because i found lots of result which anwsered by "jay_pleaset" during my search.

  • HT204053 Why can'T I get the store to work. I have tried the search and nothing happens. I want to buy more spongs and can only get the home page to show the music

    I have been trying to get an album of George Jones to load to my Ipad i can't get the store to let me search ? What am O doing wrong

    (for an example of what I mean, my site: http://www.katesilsby.com (retouch page) and what old iweb did and what I want to happen: http://web.mac.com/vogier/iWeb/vivian%20ogier/wardrobe.html
    iWeb2 photos page is completely different from that of iWeb1.
    iWeb2 photos page can be retro back to iWeb1, but not without major javascript coding.
    or using completely different previewing method for larger image, example: http://hdl.50webs.com/Lytebox/Photos.html

Maybe you are looking for

  • Class cannot be resolved to a type

    Hello, I�m trying to use the[b] itext API for PDF creating from Java. In order to do this you must include the package .jar in your classpath and import com.logawie.text.* in your java file. All this steps are obviusly, and work correctly, in JAVA, b

  • Configuration for Central Monitoring System in SAP Solution Manager.

    Hi Folks, I am trying to setup Central System Monitoring in SAP Solution Manager, I am following the document which mention the step by step instructions. There are couple of items on which  I am really confused. In the documentation it says to activ

  • Airplay not working over wireless, works over ethernet?

    I posted this in multiple forums in which it applies to. Just looking for troubleshooting suggestions from my wireless N MBPro, to my wired ATV2. Here is the rundown (all devices running latest updates): 1)used to work just fine with old router 2)air

  • Download option not working

    I get an error when I try to download a file that I converted to a pdf.  The error is that it cannot find the following web site..... I need to be able to save the files that I converted to pdf to my computer.

  • SLi nVIDIA 4 k8N PLatinum Problem

    I just got the motherboard in question but it is not picking up my hdd, its a Seagate st340810 and it is pluged into IDE 1 MAster, ive auto detected the slot in the bios but still no joy, i have been told i need to install the SATA drivers, but how d