Professional Web Applications Themes

Image Annotation - Adobe Acrobat SDK

...

Sponsored Links
  1. #1

    Default Image Annotation


    Sponsored Links
    miniCooper@adobeforums.com Guest

  2. #2

    Default Re: Image Annotation

    I don't see anywhere in the PDF Reference where an annotation type of
    XObject is listed. Can you explain?

    Aandi Inston
    Aandi_Inston@adobeforums.com Guest

  3. #3

    Default Re: Image Annotation

    Hi,

    Theres a sample project called SnippetRunner that came with the Acrobat SDK. I used this example as a reference to create an image annotation. [AddImageSnip.cpp]

    Also, page 340 of the PDF Reference doc has a list of all the entries to an image dictionary.
    miniCooper@adobeforums.com Guest

  4. #4

    Default Re: Image Annotation

    Aandi is referring to this line:

    newAnnot = PDPageAddNewAnnot (pdPage, -2, ASAtomFromString("XObject"),
    &annotRect);




    "XObject" is not a correct annotation type. It is certainly a dictionary name used in PDFs, but it is definitely not an annotation type.
    PDL@adobeforums.com Guest

  5. #5

    Default Re: Image Annotation

    Ok, what about using "Image"?

    Or do I have to specify the type of new annotation that I'm creating?
    miniCooper@adobeforums.com Guest

  6. #6

    Default Re: Image Annotation

    You have to specify the type of annotation, and it has to be one of the official annotation types listed in the PDF Reference.
    PDL@adobeforums.com Guest

  7. #7

    Default Re: Image Annotation

    For a new annotation type you must provide new annotation handlers.
    Bernd Alheit Guest

  8. #8

    Default Re: Image Annotation

    Ah, I thought that was the problem. If you make up a new annotation
    type, there won't be an annotation handler. In this case Acrobat will
    show the content stream, and may choose to show a question mark.

    So far as I know, there isn't any such thing as a standard image
    annotation type. So, you can create an annotation type of ABCD_Image
    (where ABCD is your private company prefix), and install an annotation
    handler to manager display of them. Anyone without the handler
    installed will get the question mark.

    Aandi Inston
    Aandi_Inston@adobeforums.com Guest

  9. #9

    Default Re: Image Annotation

    Use an annotation of type "Stamp".

    Leonard
    Leonard_Rosenthol@adobeforums.com Guest

  10. #10

    Default Re: Image Annotation

    Hi,

    Thanks for all the advance. I'll definitely try using "Stamp"...if that doesnt work then it looks like I'll have to create a new annotation via "ABCD_Image"...as per what Aandi Inston suggested.

    Thanks again,

    I will keep you posted on my progress

    Kristy
    miniCooper@adobeforums.com Guest

Similar Threads

  1. How to image Annotation?
    By cfli@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 4
    Last Post: April 28th, 02:42 AM
  2. Markup Annotation
    By nicolas_PUSET@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 6
    Last Post: August 20th, 01:48 PM
  3. Adobe Annotation
    By susmithag@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 1
    Last Post: September 7th, 07:29 AM
  4. ASP - PDF annotation
    By Eilsa in forum ASP Components
    Replies: 1
    Last Post: May 20th, 01:48 PM
  5. Image Annotation Application.
    By Peter Blumenthal in forum Adobe Flash, Flex & Director
    Replies: 0
    Last Post: July 11th, 08:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139