Get the correct coordinates for a rotated image

Hi all

I'm trying to get the four coordinates (PMPoint) of a frame of the rotated image.

PGeometry InterfacePtr < IGeometry > (itemList.GetRef (iCOUNT), IID_IGEOMETRY);
PMMatrix matrix =: InnerToParentMatrix (pGeometry);
PMRect rPageItemBoxRect = pGeometry-> GetStrokeBoundingBox (matrix);

When I use LeftTop() on rPageItemBoxRect, I expected to get the true X & Y values at this point are as visible in the palette information.

The LeftTop(). X() is ok, but the LeftTop(). Y() is not the value of Y at this time. It's the highest Y of the frame which is in fact the value of Y for the corner of RightTop.
Similarly, all the values that I receive are false.
The X() gives value to the far left of the image for the LeftTop() and the LeftBottom(), when they are different from the rotated image.
And the X() gives the value at the right for the framework for the RightTop() and the RighBottom(),
Y() give value to the foreground of the frame for LeftTop() and RightTop() and so on.

How can I get the coordinates of the actual area and not to the coordinates of the bounding box, so that I get the good X, the values of Y for the four corners of my frame rotated as I can see them on the palette information.

Kind regards
Jasmine Shaikh

Hi Jasmine,.

You can use the interface IPathGeometry of the framework.

Markus

Tags: InDesign

Similar Questions

  • How to get the free license for HP Custom Image for ESXi 5.1.0

    Hi there guys.

    I have HP Proliant DL160 G6 and I installed this: https://my.vmware.com/group/vmware/details?downloadGroup=HP-ESXI-5.1.0U3-GA & productId = 285

    I would like to ask how I can get a free license for this hypervisor?

    My server supports only hypervisor 5.1, but none of the most recent versions, then told me to install the one I posted above.

    This version of the free hypervisor and how do I get the license for this last, or where I can download another more recent free hypervisor can 5.1.0?

    Thanks in advance!

    Unfortunately, you can't have the old version free license... As if you were going to a free version, you can try the latest version and key are available with them. Currently esxi 6.0.

    If you bought the license for 5.1, then you can get the license key. another sound impossible.

  • Get the correct labels for a query search

    Hello community,

    We use 11.1.1.7, and we can not be upgraded in the foreseeable future. We use the query component to search for a table that has a number of areas, including a date. Our display object is configured with a view criteria which selects where DateTimeStamp >: minDate and DateTimeStamp <: maxDate. Unfortunately, the search engine created by the query component uses the text of the label of the DateTimeStamp attribute rather than the text of the label for the link variable. If the display shows the same label for DateTimeStamp for both fields of the search form.

    My question is, is it possible to configure different labels in a search for 2 variable bind form in a view of criteria where the 2 bind variable are the same attribute? Or y at - it another way I should approach this? Our requirement is to allow the user to enter two dates to find the records that are between these two dates.

    For various reasons, we went just for the bind variable directly in the where clause of the query of the View object to have in the view criteria. This switch has led to less control over the search, including variable bind tags form.

    Thanks for your comments.

    Steve

    You can add the attribute DateTimeStamp twice to your view object, and you can use different labels for each.

  • I just placed an order and I have a mac computer. The download I received was widowed... How can I get the correct download after I already paid?

    I need to know how I can get the correct download for my Mac computer?

    Contact support - for the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Get help from cat with orders, refunds and exchanges (non - CC)

    http://helpx.Adobe.com/x-productkb/global/service-b.html ( http://adobe.ly/1d3k3a5 )

  • How can I get the correct product key for my sleekbook want PC4

    How can I get the correct product key for my sleekbook desire 4 PC

    Hello

    As mentioned in your other post you can get it from Microsoft with your money:

    http://h30434.www3.HP.com/T5/notebook-operating-systems-e-g-Windows-8-and-software/i-purchase-envy-notebook-PC-4-1100se-how-can-i-get-the/m-p/2853225

    Kind regards.

  • Get the height and width of an image

    I have therefore some images in my program that I'm loading. These images are much longer than the size of the screen. So I put in a ScrollView. My question is how can I get the height and width of an image. The image.width and image.height doesn't return the correct values.

    //add the image
    private function addImage():Container {
        var sp1:Container = new Container();
        sp1.sizeUnit = SizeUnit.PIXELS;
        sp1.debugColor = 0xFFFFFF;
        sp1.margins = Vector.([1,0,0,0]);
        sp1.align =ContainerAlign.NEAR;
        //sp1.setSize(650, 800);
    
        var myPattern:RegExp = / /g;
        var fileName:String = "./com/swiz/img1.png";
        var icon:Image = new Image();
        icon.setImage(File.applicationDirectory.resolvePath(fileName).url);
        //icon.setPosition(0,0);
        //icon.setSize(320,800);
        sp1.addChild(icon);
        sp1.setSize(650, icon.height);
    
        return sp1;
    }
    

    and my code scrollview is

    //add to the scrollView
    var scroller:ScrollPane = new ScrollPane();
    scroller.width = 650;
    scroller.height = 505;
    scroller.y = 0;
    scroller.addScrollContent(addImage());
    addChild(scroller);
    

    Thanks in advance!

    Hey shethab,

    in order to retrieve the height and width of your image, you must use use the an event listener on your image and check for the Event.COMPLETE event. What is happening because the image you upload is not built, it takes time to load into your application using the setImage() method. and when you check the width height after the setImage method, the image was not loaded and has no height and width to this second. If you use the event listener, you can retrieve the height and width as it was finally loaded.

    Try the following code:

    import flash.events.Event;
    
    //add the image
    private function addImage():Container {
        var sp1:Container = new Container();
        sp1.sizeUnit = SizeUnit.PIXELS;
        sp1.debugColor = 0xFFFFFF;
        sp1.margins = Vector.([1,0,0,0]);
        sp1.align =ContainerAlign.NEAR;
        //sp1.setSize(650, 800);
    
        var myPattern:RegExp = / /g;
        var fileName:String = "./com/swiz/img1.png";
        var icon:Image = new Image();
        icon.setImage(File.applicationDirectory.resolvePath(fileName).url);
        icon.addEventListener(Event.COMPLETE, onImageLoaded);
        //icon.setPosition(0,0);
        //icon.setSize(320,800);
        sp1.addChild(icon);
        sp1.setSize(650, icon.height);
    
        return sp1;
    }
    
    private function onImageLoaded(e:Event):void
    {
        trace("image height: " + e.target.height + " image width: " + e.target.width);
    }
    

    hope that somethings brightened. Good luck!

  • Export issues of sequences with the correct settings for DVD

    Hi - I'm relatively new at first, but working on a project that is very important for me - for the life of me I can't understand correctly export settings.

    I have compiled from home movies of my family in a few sequences for the 60 years of my dad. I worked on these weeks now get cleaned and put all together. In total, it's about 24 hours of footage. These videos have all turned initially on a very old camera video in the 80 and 90 - the kind you actually stuck a VHS tape in. My ultimate goal is to put these or on a DVD (although I guess that's too many images for one), or a drive flash or something of all compiled in one video.

    So far, I got error messages on not enough disk space - so I tried breaking the sequences and exported individually as smaller files. But now, when I export those, all videos come out tiny - the video focuses on a much larger screen, do more fit to size. I studied everything about elongation and corresponding parameters and I tried everything. Of course I do not something good, I don't know what.

    I tried all different export settings, the settings of the sequence, and I thought I was following with the sequence settings, but I guess I'm not. Although I worked on it for weeks, I am out of time. His birthday was yesterday, and I wanted to give her the finished disc tomorrow. This does not seem possible as I am about to give up!

    Someone please help! I would be grateful if someone could guide me through what my sequence settings should be and what my export settings should be and how to get the video output to the correct size for the screen.

    I appreciate your help,

    Danielle

    Time of export will vary widely, depending on at least these factors

    1 - your computer... Processor and the amount of RAM, and is this external drive, USB2 and USB3?

    2. what you change, and effects that you have applied your 718 x 480 video size... is odd, the usual when scanning a VHS tape is 720 x 480, so your video requires 'some much' extra processing

  • Create the correct link for inclusion?

    Hi people,

    I learned DWCS4 and adapt currently my site (www.customscollector.com) to update and modernize. What is the site is old enough.

    My question is about understands it and generate the correct link.

    I divided my appropriate page < div >-wholepage, index, content, header, footer, and translation (bottom of page).

    The purpose of doing this is multiple:

    1 cleaner coding (learning)

    2. consistent with the standards

    3. easier update

    At the present time, I offer a link to translation at the bottom of each page, initially hard-coded in each page the way back when, in the sense of:

    " < a href =" http://fets3.FreeTranslation.com/?sequence=core & url = www.customscollector.com/customs/templ ate.htm & language = English/French "> < img border ="0"src =" "... / images/flags/france.gif" width = "25" height = "15" / > < / a > "

    In which, the foregoing resolves to do the following: (clicking on the image of a French flag, the link resolves the translation engine to translate English to French - German or Spanish model page, etc., - you get the idea)

    Having framed where I come from, my question is this:

    Using a < div > the tag for translation options, how can I make sure that the < div > tag include generates the correct link for the page created?

    As an interesting aside, visit the freetranslation site while composing this question led to an interesting discovery: freetranslation offers a simple include which seems to deal with exactly the problem I ask (and no, I am not affiliated in any way with the site here - I find it useful for what I do):

    " < script src =" http://www.FreeTranslation.com/page-translator/?SOURCELANG=en "> < / script > .

    No answer to this question would you with gratitude, because I do not know there will be other problems that may arise in the not-too-distant future...

    Thanks for your time and input, I appreciate it.

    Sincerely,

    Nice John

    > Using a

    for the translation options,

    > How can I make sure that the

    include

    > generates the correct link for the page created?

    Not sure what you mean to aid with respect to a

    for the translation options.  A div is just a container. For what is ensuring the correct link is created, just add the script that they provided to your model for the translator appears on each page of the child.  If this isn't what you're asking, you will need to explain better.

  • I'm unable to get the registration code for my Blu - Ray player

    I'm unable to get the registration code for my Blu - Ray player. I followed the instructions and all I get is the statement: device is registered. I can't register for the most part without a valid code. Please let me know how I can get the correct code. Thank you

    If you were able to enter the registration code the first time you tried to save the player before then you don't need to do it again. Just bought this drive? If so, was it a screen or mixed open-box model?

  • Need to find the correct reference for replacement screen Aspire 5742

    Hello

    I need to find the correct part for replacement screen Aspire 5742.  The backlight does not work anymore, and I already bought a UPS to see that this model/version does not use a UPS (as the backlight is LED and integrated in the element of the screen).  I find the somewhat confusing model numbers table.  The full model version seems to be:

    5742 - 464G50Mnnk

    S/N: [redacted to comply with guidelines]

    SNID [redacted to comply with guidelines]

    This seems to be a very good laptop that belongs to a mine Guigou, but not worth repair at the local dealership, and I'm sure I can replace the screen myself if I can get the right part, having already dismantled the set of sieves and to be an electronic engineer.

    Either way, I guess that this version of model is the 5742, not the 5742 G (even if the model number has a 'G' in it: some of the confusion).  Any help would be appreciated.

    Part numbers for the 15.6 TFT LCD for the Aspire 5742 are:

    LK.15605.004
    LK.15605.010
    LK.15606.009
    LK.15608.007
    LK.15608.011
    LK.1560A.004
    LK.1560D.010
    LK.1560E.004
    LK.15605.019
    LK.15606.012

  • How to get the right drivers for ati mobility radeon graphics card 9200 after updating to windows 7

    I bought a laptop computer, an HP Compaq nx7010.  This has been upgraded to windows 7, but the graphics are bad.  There is a sticker on the unit: Graphics by ATI Mobility Radeon 9200

    How can I get the correct driver to get corrected the desktop resolution? Everything is tense or too big.

    Driver update tools keep telling me this is an adapter to graphics standard VGA etc and if I try to update the adapter it device manager says that they are up to date.

    It's frustrating

    Hello:

    I think that Erico post driver will work, but it cannot simply install by running.

    Download it and run it.  If IT errors out or is not installed, then this:

    Go to Device Manager and click on the VGA Standard controller.

    Then click on the driver tab, click on set to update driver.  Select the 'Browse my computer for software' and navigate to the installation folder that was created when you ran the driver.

    This file will be located in C:\SWSetup\sp30204.  Make sure that the include subfolders is selected and I hope that the driver will be installed.  If this isn't the case, you are unfortunately out of luck.

    The video card in your laptop (Mobility Radeon 9200) is not Direct X 9 capable it is why it does not work.  In other words, it is not windows vista or windows 7 capable.

    If you are able to get the driver to install to be able to change your resolution, which is the best you can do.

    You don't have Aero with this adapter - never.

    Whenever someone plans to upgrade a PC older than one made in 2006, it is essential for them to run the free Windows 7 Upgrade Advisor to avoid disappointment.

    http://Windows.Microsoft.com/en-us/Windows/downloads/Upgrade-Advisor

    Paul

  • How can I get the download link for CS 5.5 so I can re - install?

    How can I get the download link for CS 5.5 so I can re - install?  I only see CS6 or CC option in the Download Center.

    If you follow the 7 steps you can directly download a free trial here: http://prodesigntools.com/adobe-cs5-5-direct-download-links.html

    and activate it with your serial number.

    If you have a problem downloading, you follow the 7 steps, or your browser does not accept cookies.

    the most common problem is caused by failing to meticulously follow the steps 1, 2, and/or 3 (which adds a cookie to your system, allowing you to download the correct version of the adobe.com site).

    Unable to obtain the cookie translates into an error page displayed after clicking on a link on prodesigntools.com

  • get the maximum number for each group

    Hi, I am a newbie and work on a project for school. I worked this problem for a few days and made a bit of progress.
    I have two tables, student and register for a database of the College. I need to show students that have the most entries into each large. So far, I have:

    WITH COUNT_Q AS
    (
    SELECT B.SSN, B.MAJOR, COUNT (A.CLASS_NO) AS COUNTCLASS
    TO REGISTER A, STUDENT B
    WHERE A.SSN = B.SSN
    B.SSN GROUP, B.MAJOR
    )

    SELECT MAX (COUNTCLASS), MAJOR
    OF COUNT_Q
    GROUP BY MAJOR
    ;

    I get the correct results, but need to introduce the SSN and the Major of the studens. When I add in the SSN and major, as below, I get too many files.
    WITH COUNT_Q AS
    (
    SELECT B.NAME, B.SSN, B.MAJOR, COUNT (A.SSN) AS COUNTCLASS
    TO REGISTER A, STUDENT B
    WHERE A.SSN = B.SSN
    B.NAME, B.SSN, B.MAJOR GROUP
    )

    SELECT *.
    OF COUNT_Q
    WHERE (COUNTCLASS) IN (SELECT MAX (COUNTCLASS)
    OF COUNT_Q
    GROUP BY MAJOR
    )
    ;

    Can someone point me in the right direction?
    SELECT  B.NAME,
            B.SSN,
            B.MAJOR
      FROM  (
             SELECT  B.NAME,
                     B.SSN,
                     B.MAJOR,
                     COUNT(A.CLASS_NO) SSN_MAJOR_COUNTCLASS
                     DENSE_RANK() OVER(PARTITION BY MAJOR ORDER BY COUNT(A.CLASS_NO) DESC) RNK
               FROM  ENROLL A,
                     STUDENT B
               WHERE A.SSN = B.SSN
               GROUP BY B.NAME,
                        B.SSN,
                        B.MAJOR
            )
      WHERE RNK = 1
    /
    

    SY.

    Published by: Solomon Yakobson, March 27, 2011 18:53

  • Adobe still the software that is used to decode the media is not available on this system. install the correct decoders for the file you are editing can help fix the problem

    Hello

    I got this message after the import on ten H.264 files that I coded for Adobe media encoder.  "It is not available on this system from adobe yet the software that is used to decode the media. install the correct decoders for the file you are editing can help fix the problem. »

    The files that we have shot with HD cameras.  Edited in Premiere Pro CS3.  I installed the update 3.0.1 with always the same error.

    I also tried a new project and after about ten or so files imported into a timeline, the breakdown of the system.  I tried twice...

    Thanks in advance

    Please report to us. I don't know the exact specifications. for stills in still, the limit is 4000 pixels in the largest dimension for PrPro.

    Now, I must add that in PS. resizing algorithms are better, in my opinion, than those of PrPro and again. This means that there is nothing to gain and quality of untying, important images much larger than the size of the frame of the project, i.e. of 720 x 480 for NTSC SD projects yet. The size of the image will be the limiting factor, so scratch that.

    Even in projects PrPro, I resize to exactly what I need. If I will not pan on a zoomed image, I resize it to the size of the image of the project. If I move on a zoomed image, I resize just what I need.

    Good luck

    Hunt

  • Where can I get the right drivers for Satellite Z930 - PT23LA - 01 009?

    A little history: I recently bought a version of Win7 to a Z930 in Auckland from PB Tech shop. I've updated to a clean version of Win8 64-bit. My Win8 seems works ok but I noticed something strange in the Toshiba PC Health Monitor - apparently the Toshiba HDD/SSD Alert is not installed, so I don't understand not his iconic display in the health monitor (but the health monitor think my SSD is in "Good" shape - maybe it's reading the INTELLIGENT of my SSD interface, or maybe it's just saying 'Good' because the integrity monitor is apparently able to operate?)

    I can easily find different versions of the Toshiba HDD/SSD Alert Utility in questionable Web sites - download, but I really prefer to get my Toshiba support drivers. Which leads to my question:

    Where can I get the right drivers for PT23LA-01 009? NZ nor the webarea to Toshiba support have this model in their menus. The closest match seems to be

    http://www.MyToshiba.co.nz/support/computers/Ultrabook/satellite-z930/pt23la-01f00n/download?OS=30

    There is probably not much difference between a PT23LA-01F and a PT23LA-01 P but it is a bit of concern to be download & install the drivers for a chip that is no my model...

    See you soon,.
    Clark

    PS: http://forums.toshiba.com/t5/General-Features-Knowledge-Base/TOSHIBA-HDD-SSD-Alert/ta-p/347120 advise me the area downloads for Toshiba support. He also advises "not all utilities are available for each model and operating system. During the installation of utilities, install the TOSHIBA value added first. "Sigh... so maybe my problem is that I installed the Win8 drivers & utilities order when build my own-building a Win8 pass win7? Wouldn't surprise me in the slightest... but if this is the case are here all other dependencies in these built?

    > Where can I get the right drivers for PT23LA-01 009?

    First series of Toshiba laptops (Australian, European, etc) is very similar to the other
    Your model of laptop Australian Satellite Z930 * PT23LA * series is the same as the European model Satellite Z930 * PT23LE * series.

    That's why the drivers, tools and utilities published for Satellite Z930 * PT23LE * series must be compatible with the Satellite Z930 * PT23LA * series.

    To get all drivers for Satellite Z930 * PT23LE *, you should check this page:
    http://www.Toshiba.EU/innovation/download_drivers_bios.jsp?service=EU

    There, you can get all win 8 - upgrade the drivers. Also the HDD/SSD Alert Utility v3.1.64.14

    Welcome them

Maybe you are looking for