Professional Web Applications Themes

Convert user space coordinates to device coordinates - Adobe Acrobat SDK

Hi, I need to convert the coordinates of a word (PDWord object) to device coordinates (the actual coordinates on the screen). Could someone please point me how to do it, what formula to apply ? Thank you. I use Adobe 9 SDK with VS2008....

  1. #1

    Default Convert user space coordinates to device coordinates

    Hi,

    I need to convert the coordinates of a word (PDWord object) to device coordinates (the actual coordinates on the screen). Could someone please point me how to do it, what formula to apply ?

    Thank you.

    I use Adobe 9 SDK with VS2008.
    Florin_O@adobeforums.com Guest

  2. #2

    Default Re: Convert user space coordinates to device coordinates

    Please see AVPageViewPointToDevice in the SDK 9 Doentation.

    Please also note that SDK 9 was only certified with VS2005 - it was not tested against VS2008 so correct results using this platform cannot be guaranteed.
    PDL@adobeforums.com Guest

  3. #3

    Default Re: Convert user space coordinates to device coordinates

    Hi,

    Thank you for the answer. I still have one issue though.

    I use AVPageViewGetFirstVisiblePageNum/AVPageViewGetLastVisiblePageNum functions to find the visible pages. If two pages are displayed in the same time, I can only convert the coordinates for words that belong to "active" page, that is, the page obtained using AVPageViewGetPageNum function.

    Is there a possibility to get the correct coordinates for the other visible page(s) ?

    I tested with VS2005 as well and got the same results.

    Thank you.
    Florin_O@adobeforums.com Guest

Similar Threads

  1. x and y coordinates
    By Stephen_Field@adobeforums.com in forum Adobe Illustrator Windows
    Replies: 4
    Last Post: March 8th, 02:33 AM
  2. colorpicker with uv coordinates
    By hondo3000 in forum Macromedia Director 3D
    Replies: 2
    Last Post: December 23rd, 02:25 PM
  3. MC absolute coordinates?
    By abeall webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 3
    Last Post: January 21st, 10:01 PM
  4. Some help with coordinates please!
    By happyblimp webforumsuser@macromedia.com in forum Macromedia Flash Actionscript
    Replies: 2
    Last Post: January 19th, 03:04 AM
  5. model coordinates
    By jellyfishjam webforumsuser@macromedia.com in forum Macromedia Director 3D
    Replies: 1
    Last Post: October 23rd, 08:00 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