These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Check for Attachment in offline PDF Form

amiara
Registered: Feb 12 2008
Posts: 5

Hi Experts,

I am working on a scenario wherein i need to check if there is an attachment along with this form or not. Is there anyway we check this, while this form will always work Offline.

Any pointers to this will be helpful..

Thanks,
Amita

My Product Information:
Reader 9.0, Windows
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
You can use the 'getAnnots()' method of the doc object to obtain the array of annotations in a docuemnt. Once you have this array, you can check for each annotation type to see if it is 'FileAttachment'.

George Kaiser