How to decide an annot is visiable?

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default How to decide an annot is visiable?

    There is annotation on a page,when i scroll the page the annotation may be visiable or not,but how can get the state of visiable or how can i get the visiable annot?

    Thanks,
    Jasper.
    NoSmoking@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. flash to php decide to update or insert
      I need some help writing a PHP script that will decide to create a new row in mysql or just update an exsisting account and pass the information...
    2. not able to annot title
      hi, objPage = (Acrobat.CAcroPDPage)objPDDoc.AcquirePage(k); int anot = objPage.GetNumAnnots(); for (j = 0; j < objPage.GetNumAnnots() ; j++) ...
    3. How to make the annot toolbar visible?
      We have developed an app in house that uses the Acro SDK to display the document inside of our own application. With Acro 6, we get the annotations...
    4. Trying to decide if i should buy InDesign, need to know aboutcompatibility, etc.
      ID can only open Quark 3 or 4 files. If all you have is Quark 6, you're SOL. They need to be backsaved to 5 and then opened in 5 and backsaved to 4....
    5. Trying to decide if i should buy InDesign, need to know about compatibility, etc.
      I have recently down loaded the InDesign trial from the adobe web site. I have tried to open files in it and haven't been successful. Im not sure if...
  3. #2

    Default Re: How to decide an annot is visiable?

    If the Annot has a valid rectangle inside the CropBox of the page AND the flags for the Annot don't mark it as invisible AND it's not part of a non-visible OCG, then it will be displayed.
    Leonard_Rosenthol@adobeforums.com Guest

  4. #3

    Default Re: How to decide an annot is visiable?

    But if the annotation has been scrolled out the current PageView, it can not be displayed.
    I tried using AVPageViewGetAnnotRect to decide the annotation visiablity but i found that it can not work.
    So any idea?
    Thanks.
    NoSmoking@adobeforums.com Guest

  5. #4

    Default Re: How to decide an annot is visiable?

    Oh, you meant that type of visible...

    yes, you can get its rect and compare if its in view.

    Why do you need to know that?
    Leonard_Rosenthol@adobeforums.com Guest

  6. #5

    Default Re: How to decide an annot is visiable?

    The rect get by AVPageViewGetAnnotRect() is not affected by scrolling,then i can not decide visiablity through this method.

    I have not found any other methods can be used to decide the visiablity of annotation.

    I need to know this so to draw a rect on the annotation.if it cann't be seen i do not draw the rect.
    NoSmoking@adobeforums.com Guest

  7. #6

    Default Re: How to decide an annot is visiable?

    Correct, the rectangle is static. But you can get the current page viewing area, the scroll position, etc from other APIs and then compare.

    That's an interesting requirement. Why not just replace the annotation handlers and change the drawing proc?
    Leonard_Rosenthol@adobeforums.com Guest

  8. #7

    Default Re: How to decide an annot is visiable?



    That's an interesting requirement. Why not just replace the annotation
    handlers and change the drawing proc?




    I don't understand what you mean.
    How replacing the annotation handlers make me accomplish this?

    Thanks,
    Jasper.
    NoSmoking@adobeforums.com Guest

  9. #8

    Default Re: How to decide an annot is visiable?

    You can "subclass" the annotation handlers provided by Acrobat and then override the drawing method to do whatever you want...
    Leonard_Rosenthol@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may 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