coordinates annotation problem

Hello

When I add an annotation such as:

annot var = this.addAnnot ();

annot.setProps({)

Author: "vshariphashvili."

content: "my content"

name: "myname"

page: 0.

print: true,

Rect: [68.66091918945312,444.60260009765625,526.6072387695312,691.9005126953125],

strokeColor: ['RGB', 1,0.5, 0.4].

style: "S."

type: "text",

Width: 1

});

It works, my annotation is added, and when I print its properties without problem, they are complete

When I add that highlight annotation, I add another cleaning too: quads

annot var = this.addAnnot ();

annot.setProps({)

Author: "vshariphashvili."

content: "my content"

name: "myname"

page: 0.

print: true,

quads: [238.6269989013672,691.4669799804688,356.6456298828125,691.4669799804688,238.626998901367 2,677.5950927734375,356.6456298828125,677.5950927734375,76.28500366210938,594.80078125,518 8671875,86.281005859375,548.6007690429688,508.9884033203125,548.6007690429688,86.281005859.983154296875,594.80078125,76.28500366210938,566.2410888671875,518.983154296875,566.241088 375,520.0410766601562,508.9884033203125,520.0410766601562,212.9290008544922,474.0547790527 344,382.34405517578125,474.0547790527344,212.9290008544922,445.4950866699219,382.344055175 78125,445.4950866699219],.

Rect: [68.66091918945312,444.60260009765625,526.6072387695312,691.9005126953125],

strokeColor: ['RGB', 1,0.5, 0.4].

style: "S."

type: "Select."

Width: 1

});

annotation is added to the right bar (annotation list) not on my document and when I print its properties

  • I rect values such as: [-32768-32768 32768, 32768]
  • Quad is empty

Why? What is the problem?

I would like to start by learning more about the use of JavaScript for annotations of palce, Automation of positioning of Annotations by Thom Parker

And I'd also look to see that the values in the script are numbers and not the strings of numbers. It seems that you have an overflow of integer.

Tags: Acrobat

Similar Questions

  • Get the location of an annotation

    I am looking for the location coordinates / annotation and print.

    I can get the annotation and seem to even get contact information, but can not print them.

    That's what I'm looking for:

    Box ASFixedRect;

    PDAnnotGetRect (annot, & box);

    PTR = (char *) & box.left;

    sprintf (buf, "location of the annotation is %s", ptr ");

    AVAlertNote (buf);

    Thank you

    Tyler

    You must fill in the Member redactionProps.size the sizeof (PDRedactParams)

  • SYSTEM of COORDINATES TRANSFORMATION (I think)

    Hi all

    I need help here. I have a table (which started as a shape file) with a different coordinate system than I use. I can change the SRID and diminfo easy enough but the x / y coordinates are in a different system and I do not know how to convert them.

    Help, please!

    Here are the details:

    -An example of the geometry column I'm shooting for registration:
    MDSYS.SDO_GEOMETRY(2001, 8265, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1), 
    MDSYS.SDO_ORDINATE_ARRAY(-79.249266,35.774167))
    -An example of record of the column of my table of problem geometry:
    MDSYS.SDO_GEOMETRY(2001, 8265, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1), 
    MDSYS.SDO_ORDINATE_ARRAY(2012815.139204471,768438.258117677)) 
    I already changed the SRID in the latter, but the real problem I have is in the MDSYS. SDO_ORDINATE_ARRAY. How can I convert my coordinates of problem (the example of the latter) to the same kind of information as the previous example for each record in the geometry column?

    Thank you in advance!

    Indeed, for this, you'll need transform geometries of one system of CS (your form source) to another (existing table used).

    It's little script that allows you to transform your 'table' or 'sex', based on the

    SDO_CS. TRANSFORM_LAYER

    [http://download.oracle.com/docs/html/B14255_01/sdo_cs_ref.htm#sthref1408]

    Change in this script SOURCE_TABLE with your TABLE NAME
    Change in this script TARGET_SRID with your TARGET SRID
    Replace in the SOURCE_TABLE_SPATIAL_INDEX_NAME script with the name of the spatial index on your table in the source
    --===============================================================================
    -Run SDO_CS. TRANSFORM the layer
    RUN SDO_CS. TRANSFORM_LAYER ('SOURCE_TABLE', 'GEOMETRY', 'SOURCE_TABLE_TRANSF', TARGET_SRID);
    Quickly transformed layer;

    --===============================================================================
    -DROP SOURCE TABEL SPATIAL INDEX
    DROP INDEX SOURCE_TABLE_SPATIAL_INDEX_NAME;
    COMMIT;
    --===============================================================================
    -execution of the procedure to update the source table
    DECLARE

    CURSOR c1_cur IS SELECT sdo_rowid, geometry OF SOURCE_TABLE_TRANSF;
    l_tekst varchar2 (20);
    c_rowprocessed CONSTANT number (3): = 500;
    my_loops pls_integer;

    BEGIN
    my_loops: = 0;
    FOR c1_rec IN c1_cur LOOP
    UPDATE of SOURCE_TABLE one
    SET a.GEOMETRY = c1_rec. geometry
    WHERE a.rowid = c1_rec.sdo_rowid;

    my_loops: = my_loops + 1;
    If mod (number of lines c1_cur %, c_rowprocessed) = 0 then

    commit;

    end if;

    end loop;

    commit;

    end;
    /
    Geometry of layer QUICK update;
    --===============================================================================
    -REMOVE the Source heading in USER_SDO_GEOM_METADATA REMOVE USER_SDO_GEOM_METADATA
    WHERE
    TABLE_NAME = 'SOURCE_TABLE.
    AND
    COLUMN_NAME = 'GEOMETRY ';
    COMMIT;
    --===============================================================================
    -integration with the DETAILS DIM_ELEMENT and SRID USER_SDO_GEOM_METADATA
    INSERT IN USER_SDO_GEOM_METADATA
    VALUES
    (
    "SOURCE_TABLE."
    "GEOMETRY."
    MDSYS. SDO_DIM_ARRAY
    (
    MDSYS. SDO_DIM_ELEMENT ('X', 0, 300000, 0.00001),
    MDSYS. SDO_DIM_ELEMENT ('Y', 0, 300000, 0.00001)
    ),
    TARGET_SRID
    );
    COMMIT;
    --===============================================================================
    -Recreate the index
    CREATING INDEXES
    SOURCE_TABLE_SPATIAL_INDEX_NAME
    WE
    SOURCE_TABLE (GEOMETRY)
    INDEXTYPE IS MDSYS. SPATIAL_INDEX;
    Commit;
    INVITES the 2 Spatial Index created;
    --===============================================================================
    -DROP the SOURCE_TABLE_TRANSF table
    DROP TABLE SOURCE_TABLE_TRANSF;
    COMMIT;

    Hoping that it would be.

    Luke

  • VBAI: Problem of coordinate reference system

    In a stage of my VB AI application, I'm set a mark at the center of a circular object correctly.  In the next step, I do a 'find circular edge', including the "Reposition region of interest" value to a coordinate system.

    However, when the object is moving, and the coordinate system with it, find a circular RIM does not follow this coordinate system, but rather remains fixed in space.

    What should I do to have find a circular rim move with the coordinate system?

    Make sure that when you set up the step of the coordinate system, you put up-to-date in the X direction and Y. By default it puts just updated in the X direction, and even if the overlay appears updated in both directions, this can be misleading. If this isn't the problem, you can include a simple inspection with some images to illustrate how you got in this State.

    Thank you

    Brad

  • coordinates of rotation problem

    Hello world

    I'll try to be clear, but I just have a problem with the coordinate on a rectangle of rotation.

    So, first of all, I have this data, and when I put in Excel I a rectangle to the right.

    SO now I know I need to change the data in the rotation, that's what I did.

    It worked great, I tried with graphic and to change the degree of rotation, it was perfect, I had good rotated rectangle.
    My next and last stop was just to put the coordinate to Excel and to reproduce the same rectangle on a chart in Excel.
    And that is where I met the problem.

    I have no idea why, and I don't see what to change to fix that...

    I now just a rotation of 90 degrees, it is sufficient to correct the position but where can change something?

    If somenody know something or have the solution, you are welcome.

    Sorry about that big post but I think is more clear with the image that more text.

    Thanks again for your answers (in advance)

    Maxim

    Direction of rotation?

    In Excel, it looks like a postive rotation causes rotation in the clockwise direction.

    I did not dig your math, but in many programs (such as Autocad), a rotation angle positive hour meter follows the right hand rule.  Where 0 is the + axis X and a line there turns towards the + Y axis with a + angle.

  • Problem of coordinates on OS 4.6

    Hi all

    I was faced with a problem with coordinates the preparation for OS 4.6.

    Whenever I instantiated an objects coordinates as below:

    Coordinated c = new coordinates (0,0 from, 0,0, 0.0F);

    The application does not load in a 8520 with OS 4.6 Simulator. But when I try to load it in a simulator with OS 5.0 it loads.

    Is there a problem with coordinates and OS 4.6. How we instantiate an object coordinates manually?

    Note: I can get a QualifiedCoordinates object when using the location class getQualifiedCoordinates(), but I want to instantiate the coordinates manually especially when getQualifiedCoordinates() returns null.

    Kind regards

    ichie

    Please refer to the following:

    Appropriate version of BlackBerry JDE

    http://supportforums.BlackBerry.com/T5/Java-development/appropriate-version-of-the-BlackBerry-JDE/TA...

    Compatibility mode with the BlackBerry Storm Smartphone

    http://supportforums.BlackBerry.com/T5/Java-development/compatibility-mode-with-the-BlackBerry-storm...

  • problems to manage certain features of 5.0 language - enums and annotations - a custom doclet

    I am writing a brand new customized by using the JDK 1.7 doclet. These are the problems that I found so far:

    IsEnumConstant(), isAnnotationTypeElement(), isEnum(), and isAnnotationType() methods doc do not work. They always return false.

    PackageDoc enums() method always returns an empty array. Enums are included in the result of the allClasses() and ordinaryClasses() methods.

    ClassDoc enumConstants() method always returns an empty array. The constant enum are included in the result of the fields() method.

    PackageDoc annotationTypes() method always returns an empty array. Annotations are included in the result of the interfaces() method, so I could implement the following workaround solution:

    AnnotationTypeDoc annotationDoc;

    Interfaces [] ClassDoc = packageDoc.interfaces ();

    for (ClassDoc classDoc: interfaces) {}

    If (classDoc instanceof AnnotationTypeDoc) {}

    annotationDoc = classDoc (AnnotationTypeDoc);

    } else {}

    continue;

    }

    Process (annotationDoc);

    }

    Based on something I found in the "what's new in Java . doc 5.0 " page ( http://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/whatsnew-1.5.0.html) I guess that even if I write it with JDK 1.7, my doclet works in a kind of pre - 5.0 compatibility mode. That's what I found in the "what's new in Javadoc 5.0" page: ".

    Incompatibilities with custom Doclets

    Custom Doclets written prior to 5.0 will have compatibility issues when running on the source files that use the new language features in 5.0. New language features: the Doclet API and standard doclet were revised in order to manage the new features in 5.0 language - generics, enums, varargs and annotations. To manage these features, custom doclets will also need to be revised. The Javadoc tool tries - wherever possible - to present the so-called "legacy" doclets with view on the program 1) continues to work with the source code of pre - 5.0, but 2) corresponds to their expectations for 5.0 source code. Thus, for example, the type arguments and type parameters are stripped of generic constructs, variables of type and generic types are replaced by their scrapings and ClassDoc.fields () returns one of the constants enum.

    Solved! It has been really work in pre - 5.0 compatibility mode. All I had to do to was to add the following method to my custom doclet:

    public static LanguageVersion languageVersion() {}

    Return LanguageVersion.JAVA_1_5;

    }

  • Problem with the content of the annotation

    Hello

    I have problem with JS and annotations in new Acrobat XI player. My script should read the annotations content but in XI'AN annotation.contents is always undefined. I have listed all the properties of the object, and I can't find correct content property. I don't see any change in the documentation. Should work.

    The file has the right to manipulate annotations (although I'm not

    course it is necessary the reader XI)?

    Is it secure somehow?

  • Zoom by programming a coordinate or the addition of an annotation

    I am building a web application where a PDF is integrated into the browser. I have to be able to highlight the particular areas of the PDF when the user clicks on the links in the web page. I already understood how to communicate with Javascript in the PDF of Javascript file in the browser. I can't find an Acrobat Javascript API which will allow me to zoom in to a particular set of coordinates. Does one exist?

    If I could draw an annotation via the addAnnot method. However, this doesn't seem to work in same browser when I use the undocumented Collab.showAnnotToolsWhenNoCollab = true; property. I don't see any info except that the console is not displayed.

    You can use JavaScript to set the pageNum and zoom properties and use the method of scrolling of the document object. More information is in the JavaScript documentation.

  • Problem to adapt to annotation label Y position Offset, help!

    Hello

    I use the histogram to draw several values and I want to use annotations to show the value of each bar.

    I climb the ladder to have space for the value of the annotation using the max value of data. But I can't adjust the offset of the label to have the same free space in all the bars. If you see the attached file, you can see the figures cover the bar and they do not look ok. You know sort of adapt to get all the annotations of values with free space even with the bar of?.

    Thank you for all.

    Fred.

    Of course, if some elements are constant (for example the number of bars) a lot of properties should be written only once before the loop. Here's the code in action by using the random data generated.

  • Problems with annotations

    Host 11, test on Windows 7 version

    I looked at the pdf help but. I'm not able to change the annotation properties in the timeline panel, or removing annotations. When the field for annotations is marked I can see the annotation as a small black spot, but there is no way "strech" it in the calendar below.

    Because of the trial version?

    Thanks in advance

    Andreas

    Hi Andreas,

    I took a quick glance to your project. I am able to select the annotations and modify their properties.

    Following steps could help you.

    1. open the project in presenter Video Express.

    2. click the button of Annotations (a 5th lower-left)

    3. go to the section where you have annotation (annotation in your project, is at 4.08. Search any framework between 4.08 to 4.12).

    4. click on the ellipse you added to the presentation.

    5. now you can see a rectangular (bounding) box drawn around the ellipse. Once the annotation is selected, you can stretch using handles, or you can change its properties.

    Here is the screenshot when an annotation is selected

    Let me know if it worked.

    Thank you

    Manasa.

  • Problem updating the coordinates of CC payment for teams

    Hello

    I tried these last weeks update my payment for my CC for subscription information teams. Whenever I click on the "Billing information Edit" button, I get the error message:

    We're sorry, something seems to go wrong on our end. Please try again later.

    I have tried to contact the customer service by phone to solve this problem, but gave up after 45 minutes on hold.

    Can someone please look at this?

    See you soon

    Hi dverschoylegs,

    I apologise for the inconvenience that you have been facing. Please see the Ko: http://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting-creative-cloud.html and contact our conversation of support in case of additional questions.

    Kind regards

    Romit Sinha

  • Problem with the annotations of drawing in Acrobat Pro XI

    Hello everyone and thanks for any help that comes out of this.

    I use Acrobat XI for several forms of work.  These are time sheets.  I created these forms of PDF, another that was given to me.  Part of the use of these forms is to add drawing annotations and modify the rates of increase later.  In this case, the rate of increase is simple lines.  In Acrobat 9, it was an easy task.  I could easily enter the increases I inserted and handle them somehow I chose.

    Now in Acrobat XI, once I insert a line, I basically can no longer touch without making a clumsy work-around.  Every once in a great while, I am lucky and am able to do my mouse while one pixel hidden magic and then I can grab the markup and do what I need.

    It just seems much, much more difficult to work with annotations of drawing in the new version.

    I'm doing something wrong?  Is there an option that I don't know?

    Thank you in advance.

    Dave

    Ok. The tool that I'm talking about is under Tools - interactive objects-

    Select the object (a black slider).

    Try to use it to select and move your annotations (although perhaps of other tools)

    also works well, but it's easier with this one).

  • Coordinate - problem of learning system

    Hello

    I created a sample project to epxlain my problem.

    There are two paintings in the main application. OuterSpace canvas and canvas innerspace.

    innerspace canvas has a Visual Component 'mainBox '.

    and there is also a visual component in outerspace canvas named "overBox.

    now I want the card user xis - x and of y - xis overBox to mainBox, so when the user will click re - arrange, overbox will completely cover the mainBox.

    This is actually a problem of co-oridatane systems and I don't know how to map them into a single.

    Here's the code.

    The application file

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="*">
         <mx:Script>
              <![CDATA[
                   
                        private function arrange(event:MouseEvent):void{
                             
                             var point:Point = mainBox.localToGlobal(new Point());
                             overBox.x = point.x;
                             overBox.y = point.y;
                        }          
                   
                   
              ]]>
         </mx:Script>
         
         <mx:Canvas width="80%" height="80%" horizontalCenter="0" verticalCenter="0" id="outerSpace" backgroundColor="#A9A9A9">
              <mx:Canvas width="80%" height="80%" horizontalCenter="0" verticalCenter="0" id="innerSpace" backgroundColor="#8DB5FF">
                   <ns1:Node horizontalCenter="0" verticalCenter="0" width="100" height="100" id="mainBox">
                   </ns1:Node>
              </mx:Canvas>
              <ns1:Node x="21" y="10" id="overBox" width="100" height="100" backgroundColor="#FFA352">
              </ns1:Node>
         </mx:Canvas>
         <mx:Button label="Re-Arrange" click="arrange(event)" left="10" top="10"/>
    </mx:Application>
    
    

    Project is also attached.

    Thank you

    Just see below. But it won't work if you resize the view, because it is centered

    private

    function arrange(event:MouseEvent):void

    {

    Get mainbox coord local system, i.e. from innerSpace

    var p1:Point = new Point (mainBox.x, mainBox.y);

    Convert to global coord of innerSpace

    var p2:Point = innerSpace.localToGlobal (p1);

    Convert local coord - from outerSpace

    var p3:Point = outerSpace.globalToLocal (p2);

    overBox.x = p3.x;

    overBox.y = p3.y;

    }

  • problem of permutation of coordinates of PNG stored in table 2D

    Hello

    I use the class interactive png found here

    I am loading in the delivery date for an XML that is structured as follows

    <? XML version = "1.0"? >
    < theData >
    < _title_ > photos! < / _title_ >
    < __url__ > images / < / __url__ >
    < slides >
    < sub image = "images.png" region = "Region1" info = _url 'region 1 info - links to bbc' =' " http://www.bbc.co.uk ' xLoc = position"0"= image2 ="images2.png"/"0">"
    < / slides >
    < / name >

    the images are loaded into a loader and stored as interactivePNG. I give them an x, coord y but on working capital I need them to exchange contact information. I put the interactivePNG in available space in the regionArray that is stored in the mapArray.

    So I need to swap the png interactive currentTargets x and coordinate with the png interactive x and coordinate that is in the same regionArray but a position later. That is, if the first is mapArray [0] [8] I need to swap x and y with mapArray [0] [8]

    How can I get them to swap, I can't do... If tried to use indexOf the currentTarget in the mapArray, but it returns-1.

    Please help, thanks in advance

    Greg

    Try to create an empty class that extends from InteractivePNG and declare this class as dynamic:

    Dynamics/public class MyInteractivePNG extends InteractivePNG

    Then instantiate this new class and you will be able to add dynamic properties.

    TS

Maybe you are looking for