How to set the position of an object PDEPath

Hello
I'm a beginner in the plugin Acrobat SDK development.
I tried to reflow content within the pdf. I was able to redistribute most of the content except PDEPath object.as

For PDEPath object re-flow that I was using the function PDEElementSetMatrix (PDEElement pdeElement, ASFixedMatrixP matrixP);

and the trace object was not get positioned to led. It has been rather get placed outside the margin of page very far above the page.

Another issue is that whenever I was trying to get the coordinates of the position of any object of PDEPath, using the PDEElementGetMatrix function.
It's come 0,0 coordinate.

Can someone help me know what could be the problem here.

Thank you
Marie José Saffiuddin

The position of the paths is indeed defined by the matrix and only in this way.

Things to watch

-Make sure that you understand how to work with ASFixedMatrix objects (items cannot be defined directly as integers or real numbers).

-Make sure you understand how to work the PDF matrices

n ' forget not that the origin of the matrix cannot be the lower-left corner of the page. items are visible only if they are within the rectangle defined by the CropBox, or if there is no CropBox, the HD Mediabox Recorder

Tags: Acrobat

Similar Questions

  • How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    How to set the position and size of the façade using the FPRunTimePosRunCustom method in a c# application?

    I found a solution! -Set the size and position of the façade with the help of the

    File > VI properties > window running Position (in category list) > custom (in position of menu drop-down).

    then just accept the current position and size (leave the boxes checked) or set values you want directly (uncheck the boxes and fill in the numbers), or physically position and size the façade and use, the "set to current location" button and press "set size" current All that is easier for you.

    OK so it does not make use of the method VI Methods (Active X) FPRunTimePosRunCustom ([Position], [Size]) but if labview want to make him difficult to use then other means must be found.

  • How to set the position of the ButtonField in Manager

    Hi all

    Can someone give me little piece of code that can help me set the ButtonField position in the Manager.

    Thank you

    TEJ

    Hi Tej,

    To think that I saw in your code is that you not layout() for buttonfield in the sublayout(). You use custom manager or the substitution of the sublayout (method 0 only for a Manager.

    In any case, here is the example code that handles the touch event

    class MyScreen extends screen
    {
    ButtonField button;

    public MyScreen (parent of BBApp)
    {
    Super();
    LayoutManager Manager = new LayoutManager();
    button = new ButtonField ("click")
    {
    protected boolean touchEvent (TouchEvent message)
    {
    If (message.getEvent () is TouchEvent.CLICK)
    System.out.println ("click the button clicked");
    Returns true;
    }
    };
    Manager.Add (button);
    Add (Director);
    }
    }

    class LayoutManager extends Manager
    {
    int nX, nY, nFields.
    int nXPos [] = new int [2];
    int nYPos [] = new int [2];
    On the field [] fields = new field [2];

    public LayoutManager()
    {
    build a Manager with vertical scrolling
    Super (Manager.NO_HORIZONTAL_SCROLL |) Manager.NO_VERTICAL_SCROLL);
    nX = 0;
    nY = 0;
    nFields = 0;
    nXPos [0] = 20;
    nXPos [1] = 40;
    nYPos [0] = 120;
    nYPos [1] = 240;
    }

    public void add (field)
    {
    Super.Add (field);
    fields [nFields] = field;
    nFields ++;
    }

    protected void sublayout (int width, int height)
    {
    for (int i = 0; i)< nfields;="">
    {
    setPositionChild (fields [i], nXPos [i], nYPos [i]);  set the position of the field
    layoutChild (fields [i], width, height);  Spread the field
    }
    setExtent (360, 480);
    }
    }

  • Jdev 11G ADF BC: how to set the position of an external browser window?

    Hello

    I created the true to the "useWindow" property to open a dialog box to send a simple confirmation message after the user clicks a button.

    The dialogue window always appears in the upper left corner of the parent page, that I don't like. Is there a way to define where the dialog?

    Thank you very much

    Annie

    Hello

    showPopupBehavior does not work with exterior windows. There is no option to set the position of the external window (just the height and width).

    Frank

  • HOW to: set the anchoredObjectSettings for. palce() object?

    Hi, I am currently working on the interesting script for GREP placing, and I wonder how I can configure for object anchoredObjectSettings. palce()?

    for(i=0; i < found.length; i++)
    {
        foundElem = new File (myFolder + "/" + found[i].contents);
        found[i].place(foundElem); // Placing Ancored Object
       
        // HERE IS WHERE I NEED SOME HELP: how to set "anchoredObjectSettings" for just placed Ancored Object
        //anchoredObjectSettings.anchoredPosition = AnchorPosition.ABOVE_LINE;
        //anchoredObjectSettings.horizontalAlignment = HorizontalAlignment.TEXT_ALIGN;
    }
    

    Here you can download the example files - script, the InDesign file and images, which must be placed in the InDesign file with script

    Dropbox - GREP placing.zip

    PS: I think that this script will be very useful, so if someone have any ideas/suggestions, and want to help with the continued development - that would be great!

    Hello

    Right, it was too fast...

    This line returns an array of placed graphics - and we have set the property to its container in fact.

    so make it

    //.......
    mPlacedObj = found[i].place(foundElem)[0].parent;
    //.......
    

    Jarek

  • How to change the position of two objects?

    I have four componensts of course is that I imported from my main mxml file

    and each placed at the four corners.

    What I want to achieve is to drag each item on others then swap their position.

    For example, A comp is slipped on model B, in this case, change the position of A and b.

    But for the moment, it doesn't seem to work properly. I could not find out what the problem with my code. Could someone help me reach this goal?

    A big thank you to all those who could give me a helping hand!

    ///////////////////////////////////////////////////////////////////

    This is one of my component *.

    All the other three components are made in the same way, except each source image file is different *.

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Box ' http://www.Adobe.com/2006/MXML "width ="42"height ="42"> "
    < mx:Image source="Images/air.png"/ >
    < / mx:Box >

    ////////////////////////////////////////////////////////////////////////////////////////

    It's my mxml that calls my components *.

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:WindowedApplication ' http://www.Adobe.com/2006/MXML "layout ="absolute"xmlns:comp ="Comp.*"creationComplete ="onInit()"> "
    < mx:Script >
    <! [CDATA]
    Import mx.containers.Box;
    Import Comp.Icon_illustrator;
    Import Comp.Icon_air;
    Import Comp.Icon_flash;
    Import Comp.Icon_flex;

    private var i_1:Icon_air; 1
    private var i_2:Icon_flash; 2
    private var i_3:Icon_flex; 3
    private var i_4:Icon_illustrator; 4
    private var origX:Number;
    private var origY:Number;
    private var startObj:String;
    private var icons: Array;

    private var h_1:Box;
    private var h_2:Box;
    private var h_3:Box;
    private var h_4:Box;

    private function onInit (): void {}

    initialize all icons
    i_1 = new Icon_air();
    i_2 = new Icon_flash();
    i_3 = new Icon_flex();
    i_4 = new Icon_illustrator();

    i_1.name = "i_1;
    i_2.name = "i_2;
    i_3.name = "i_3;
    i_4.name = "i_4";

    Fill icon
    showArea.addChild (i_1);
    showArea.addChild (i_2);
    showArea.addChild (i_3);
    showArea.addChild (i_4);

    Set x position
    i_1.x = 100;
    i_2.x = 200;
    i_3.x = 100;
    i_4.x = 0;

    the position value is
    i_1.y = 0;
    i_2.y = 100;
    i_3.y = 200;
    i_4.y = 100;

    icons = [i_2 i_3, i_1, i_4];
    addEventListeners
    for (var i: int = 0; i < icons.length; i ++) {}
    icons [i] .addEventListener (MouseEvent.MOUSE_DOWN, sensors);
    icons [i] .addEventListener (MouseEvent.MOUSE_UP, stopDragMe);
    }

    } //end of onInit

    private void moveMe(e:MouseEvent):void {}
    e.currentTarget.startDrag ();
    showArea.setChildIndex (DisplayObject (e.currentTarget), 0);

    origX = e.currentTarget.x;
    origY = e.currentTarget.y;

    startObj = e.currentTarget.name;
    }

    private void stopDragMe(e:MouseEvent):void {}
    {if (this [startObj].hitTestObject(Icons[1]))}
    trace ("hit 2");

    This [startObj] .x = i_2.x;
    This there [startObj] = i_2.y;

    i_2.x = origX;
    i_2.y = origY;

    } else {if (this [startObj].hitTestObject(icons[0]))
    trace ('hit 1');


    This [startObj] .x = i_1.x;
    This there [startObj] = i_1.y;

    i_1.x = origX;
    i_1.y = origY;

    } else {}
    trace ("knocking others');
    This [startObj] .x = origX;
    This there [startObj] = origY;
    }
    e.currentTarget.stopDrag ();

    } //end stopDragMe

    []] >
    < / mx:Script >

    < mx:Panel id = "showArea" width = "400" height = "300" layout = "absolute" backgroundColor = "0 x 999999" / >

    < / mx:WindowedApplication >

    This shows you how to create dynamic user interface.

    
    
         
              
         
         
         
    
    
  • Question on how to set the position of the field.

    Is there anyway to set the field position TOP of the screen as Screen.setTitle (Field)?

    My problem is when I add my Manager (who has a backgrond color) for the title. I see a gray line between the title and the body region (the body has a background color even my manager), so I did ' t like it.

    Reason I want to 'FIX' my manager at the top of the screen position is I want to see my manager every time I scroll the screen each time as setTitle().

    THX in advance

    -Maz-

    Try using setBanner() instead of setTitle(). I think that the banner does not normally include a field separator (which is what this line gray).

  • How to see the position of an object or an image in Indesign?

    I can see the size of it (dimensions) in the info panel and the position of the mouse, but not the position of the current selected object or frame.

    On the left side of the control panel

  • How get/set the value of the DataObject object in the task of the API?

    How get/set the value of the DataObject object in the task of the API?

    Are there examples of code availible?

    Hello

    You are here: http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_worklistcust.htm

    Antonis

  • How to get the position of a ring in a tree control?

    Okay, this is probably a stupid question, but how can we get the position of a ring within a tree control?  I have a tree with two columns, with rings in the second column.  I can set the position using SetTreeCellRingValueFromIndex(), but how do you get the position once the user has changed the control?  I found the functions GetTreeCellRingIndexFromValue() and GetTreeCellRingValueFromIndex(), but I have not found a way to get the Index or the value of the ring (I'm looking for is the index, but if I can get the value I can from there).  Thanks in advance!

    You can get the value of the cell in the tree of GetTreeCellAttribute (ATTR_LABEL_TEXT). Then, as you noted, you can use GetTreeCellRingIndexFromValue() to get the index.

    I hope this helps.

    -jared

  • Set the position of a PopupScreen

    Is there a way to define the position of top, on the left of a PopupScreen? SetPosition(x,y) call will throw this error:

    java.lang.IllegalStateException: setPosition called outside the layout

    I use JDE 4.2.1 8800 Simulator.

    Thank you

    Ryan

    Quote from the old forum:

    ligraseac

    Messages: 2
    Join date: Jun 2007

    Screen Popup position
    Posted the: June 29, 2007 05:45
     
    Hello

    How can I set the position of a popup screen? I want to set its position next to a field that has the focus.

    Thank you

    Comments: fjarlier
    Re: Screen Popup Position
    Posted the: 5 July 2007 17:10
     
    Hello

    In your class that extends the PopupScreen, you must override sublayout like this:

    ' public void sublayout (int width, int height) {}

    Super.sublayout (Width, Height);
    setPosition (50,50);
    }

    Because the setPosition can occurs only in the layout method. And then, you can position your PopupScreen anywhere you want.

    For me it works...

    If you have another solution, that I take.

    So long

    Fred

  • How to set the alignment of the centre on TextField?

    Hi guys.

    I have not found how to set the alignment of the centre on TextField?

    Do you know how to set the alignment of the centre on TextField?

    Please share your knowledge.

    Thank you.

    Hello

    Hope this will help you

    Import net.rim.device.api.ui.component.BasicEditField;

    class CustomTextField extends BasicEditField {}
    {CustomTextField()}
    Super(BasicEditField.FIELD_HCENTER |) BasicEditField.FIELD_VCENTER);
    }
       
    public void layout (int width, int height) {}
    Super.Layout (getPreferredWidth (), getPreferredHeight ());
    setExtent (getPreferredWidth (), getPreferredHeight ());
    }
       
       
       
    public int getPreferredHeight() {}
    System.out.println("---");
    beginning 50;
    }
       
    public int getPreferredWidth() {}
    System.out.println("###");
    Back to 120;
    }
       
    }

    Now in your class that extends the screen or full screen add this class object.

  • How to get the position of the shape puppeted

    If I have a layer of form with several small places in this document, which is a puppet of the tool on the layer, how he determine the position of one of the squares after the puppet tool has moved their?

    Thank you

    It's sounds like you have already found the setting Position of the axis 'puppets' and that it does not receive the contact information you are looking for.

    Have you tried the mouse overview of the place you are looking for the information of position for watching the Info Panel?

    If there is a specific place you're looking for on the site, you can create an element of double film and square on the square with a color that stands out from the paint.  Follow that dot and then replace the original work of art (the source footage that does not place).

    -Warren

  • How to set the initial value programmatically in af:selectOneChoice

    Hi all

    How to set the initial value programmatically in af:selectOneChoice

    filled with view object instance, but I want to show the value initial programmactically

    This can help you: Re: how to set the default value of the component selectOneChoice in ADF

    and the default af:selectOneChoice programmatically from backing bean

  • How to change the position of a window created in the script?

    Hi all

    A window called from another window are the same size. How to change the position of the window from the window of the appellant's appeal?

    You can also use the property frameLocation of the window to get a set the locations of the windows.

Maybe you are looking for

  • ICD-PX312 stuck on hold

    Hello My burner was working fine, but today I plugged my PC and through windows explore deleted some mp3 files in the folder voice. When I disconnected the recorder and try to press any button (menu, record, play) anything it just shows "hold" on the

  • The battery is not charging!

    I noticed that my phone was at 50% battery, I used it and knew that it was much less than 50 percent, so I plugged it in to charge. The phone knows the charger is plugged in, but the phone is dead anyway. He did charge for a few minutes, I walk back,

  • BlackBerry Smartphones blackberry app world please help!

    Can someone help please, I tried to download the update from Facebook and everytime I tried it failed, apart from that for some reason, now I can't even in my app world I deleted and reinstalled it, now when I click on it it won't even in the world o

  • Multiple snapshot monitors led Flash memory-based

    HelloI am facing a problem this instant monitor two program have produced snapshots based on memory in a planning MRP process.Void queries have been respectively resulted in each instant monitor.But the fact is that these two programs of the monitors

  • Internet Explorer has encountered an error

    When I play gamesville. Com, on every 45 seconds the error message indicating that the Internet Explorer problems, will see if they can resolve and reopen, it will always open in a different window. I know that this is not my career or the modem beca