custom stamp names and thumbnails

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

fabrizio
User
Posts: 33
Joined: Fri Jul 02, 2010 1:58 pm

custom stamp names and thumbnails

Post by fabrizio »

Hi there, I just created a custom collection of stamps using PDF Viewer SDK. The PDF file containing my collection is placed in C:\Documents and Settings\user.name\Dati applicazioni\Tracker Software\PDF-XChange Viewer\2.0\Stamps and that's good for me.
Now I need to place stamps using javascript addAnnot:

Code: Select all

this.addAnnot({page: 0, type: "Stamp", author: "me", name: "stampname", rect: [200, 200, 350, 300], contents: "", AP: "APStampName" });
Opening the PDF file I noticed a section with the stamps name list.

Code: Select all

/Names [(14c2dce6-a09e-471f-a2fe870168f4cfd1=name_0) 16 0 R (1aeb5984-3b3e-41d2-be7e3f378809e355=name_1) 8 0 R (35d9e9c1-44ef-43c0-b5cb60a6191d34a5=name_2) 15 0 R (365d0d9c-2b16-4c64-b9348f8c83c91a0d=name_3) 18 0 R (3bc51fe5-548e-47cd-b52a17502bd4cd14=name_4) 19 0 R (3dc4ba11-8642-4336-bdca88f17c4c02dd=name_5) 14 0 R (42bab11a-36fe-4f8e-97dae012608612ba=name_6) 12 0 R (4d4cddf6-b38d-4462-b2c3c0b9e9dfe758=name_7) 17 0 R
(7201d91d-ec88-4dfe-bc64392b5eea4dee=name_8) 13 0 R (b927a5c8-ab46-40ad-bc0a602646cc0c6d=name_9) 9 0 R (c4f65d01-9d93-4d65-9d70fbdab4f2dc15=name_10) 11 0 R (c828c8b1-87e0-4f0a-9887c5134a9141b1=name_11) 10 0 R (d65f8c01-7cd6-45b3-b98ca866fc807977=name_12) 7 0 R]
So my question.. Is it possible from the PDF AX component to get the stamp name list? Can't find a solution in the SDK Manual.
And is there a way of getting stamp thumbnails from the PDF stamp file too?
Thank you for any hint on this.
Fabrizio
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: custom stamp names and thumbnails

Post by Stefan - PDF-XChange »

Hello Fabrizio,

Thank you for your question. I am not sure it can be done directly with a single AX function, but we are discussing the problem here, and as soon as we have any suggestion for you we will post in in the topic!

Best,
Stefan
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: custom stamp names and thumbnails

Post by Ivan - Tracker Software »

I'm afraid for now there are no way to enumerate available stamps names.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
fabrizio
User
Posts: 33
Joined: Fri Jul 02, 2010 1:58 pm

Re: custom stamp names and thumbnails

Post by fabrizio »

Ok. Is there any plan to include this feature in a future release?
Thank you
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19885
Joined: Mon Jan 12, 2009 8:07 am

Re: custom stamp names and thumbnails

Post by Stefan - PDF-XChange »

Hello fabrizio,

I just spoke with Ivan, and he told me that this feature is not currently on our radar - but in the long term anythign can change!

Best,
Stefan