How to change the length of line objects

Hi all

How to change the length of the line objects.

I know how to change the width or height of the elements.

Utils < Facade::IGeometryFacade > ()--> (ResizeItems)
itemList,
Transform::PasteboardCoordinates (),
Geometry::OuterStrokeBounds (),
refPoint, Geometry::ResizeTo (newWidth, newHeight)
);

I know the new length and PMrect of the line item before moving.

What I want to know is how to get the new width and height of this.

Thank you.

Fujimori - Satoru

Find your old address of trigonometry and read the part about the Pythagorean theorem. This will give the scale factor you need to get the old PMRect to the new

Tags: InDesign

Similar Questions

  • How to increase the length of line comment fields

    Hello

    as requested by a customer, we need to know if it is possible to increase the length of line comment fields.

    In fact, the size is:

    for allergens/intolerances/additives comment field-> DB limit = 256 characters; Web = 125 character limit

    for field nutrient comment-> to the defined benefit limit = 512 characters; Web = 250 characters limit

    We need to increase both limits up to 1000 characters.

    I hope my question is clear.

    Thank you and best regards.

    Michele

    Hi Michele,

    You can increase the size of the field or the size of the text for the field of comment allergens/intolerances/additives by following steps:

    1, go to \Web\gsm\BaseForms\UserControls\ctlComplianceContainedGrid.ascx, open the file

    2, go to line 102:

    3, edit theCellRepresentation.getTextareaCellEditor or the width of the field, save the file, refresh your page open or create a new page, then this field will change to the newly configured size

    Notes: the maxinum supported text is 4000 characters

    Unfortunately, the comment nutrient field do not support 256 characters. I suggest that submit you an improvement if it necessary business.

    I hope this helps.

    Thank you

    Jessie

  • How to change the font, color line, column and Grand Total labels in PivotTable

    Hello Guru

    Can you get it some one please let me know how to change the look and feel of the reports in Pivot table using css files. I want to have the dimension and the measure to be of different color columns and grand total different color. I want to achieve for all pivot table reports instead of manually change each report so I want to do in css files.under s_SRIKI\b_mozilla_4\views.css I've seen a lot of options but nothing has worked. So can you please exactly tell what class we need to change to make changes. Thank you!!!

    Thank you

    SR

    For values

    . OORT {}

    text-align: right;

    vertical-align: top;

    color: Red;

    }

    For the product if you got hyper link

    Code OOB is

    . PTL {}

    color: #039;

    text-decoration: none;

    cursor: pointer;

    }

    If brand aid

  • 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.

    
    
         
              
         
         
         
    
    
  • How to change the length of the area of Google search or on the Bulletin Board web address?

    I want to reduce the window of web addresses and increase the length of the search panel. How can I achieve this.

    I'm Mac 10.7.2
    Firefox 10.0

    No problem. Always happy to help!

  • How to change the length of the border?

    On my picture, I want to be a top full border, no border bottom and two side borders that go only to half way down.

    I know how to add the border, but I can't seem to be able to make the borders side down at halfway.

    Is this possible?

    Thank you! (:

    A length of the border is to be determined by the element box or block encompassing level and in this case the width and height of the picture. Then no. However, you can use photoshop to add borders or add another div or any other element or a tag that is half the size of the photo and apply the border. Then position them accordingly.

  • Windows Movie Maker-how to change the length of the duration of viewing by image

    Windows Movie Maker speed

    Can someone help me change the duration of viewing by image for the photos I moview Maker?  They are "set" 5 seconds per image and I want to speed it up a little.

    Thank you

    Can someone help me change the duration of viewing by image for the photos I moview Maker?  They are "set" 5 seconds per image and I want to speed it up a little.

    Thank you

    ===================================
    I wrote the following to Win XP Movie tutorial
    Maker 2.1, but it might be useful for Vista
    Filmmaker 6:

    The change of setting to: Tools / Options /.
    Advanced... tab applies only to the added clips
    to the timeline * after * you change the setting.

    If you switch to view "Storyboard" and select
    all of the clips as a batch (select one and the type...
    CTRL + A)... you can add the 'Speed Up, Double.
    or "Slow down, half" effect of changing the
    duration. Simply select all clips / right click
    the effect on the menu... Choose...
    Add to storyboard table.

    'Speed Up, Double' cuts the duration of half.

    "Slow Down, half ' double life.

    These effects can be added up to six times.

    If you need finer adjustment...
    the info may be useful:

    You can change the duration for each clip
    manually. Move your pointer autour the
    edge of an element until you see a double red
    arrow. Now, drag the double red arrow...
    you will see if show a ToolTip displays the duration
    train to change.

    Or... just to redo the project after changing
    the long-term: Tools / Options / Advanced
    tab.

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How to make the length of line web app flexible components

    Is there a simple way to ensure that the elements of web application adjusts to keep his friends as many instances as allows it the width of a screen?

    Change the tag from a table structure li ul.

    Apply CSS as needed

    Overall layout online store | Developers of business catalyst

  • How to change the color of line according to the value of the column

    Hi all

    I have an obligation to change the color of the column based on the value. As I have a table of results and the State are success and failure and progresses, if the State values is the success that should appear in green and if the status is failed, that should be red...

    Here is my table ADF Trinidad read only tables.

    Can someone help me with this.

    Thank you

    Hello

    Try this:

    styleClass="#{row.bindings.Status.inputValue=='IN PROGRESS' ? 'INPROGRESS' : row.bindings.Status.inputValue}"
    
  • How to change the color of line based on Condition

    Dear all,

    We have requirment as shown below

    Based on the condition, I want to show the color for all of the line

    Example of

    If attribute = 'Y' then
    {
    < show the color for complete line in advanced table?
    }

    Please give me suggestion how join my requirment.

    Thank you
    Venkat Reddy Pulichintha

    Hey...

    you said that the code you wrote is working for a column... in the same way you can set the CSS Style on all other columns as well...

    Why don't you go with code that works...

    DataBound APIs are an alternative solution to this... you can search on it later...

    Thank you
    Gerard

  • How to change the opacity of an object in my scene?

    Everything is in the title

    I have a plan for a park and want to make a different area (red, green, blue, etc.) I know how to make them, but don't know how to put at 50% opacity. Is there a way to do this?

    use movieclip.alpha = 5.

  • How to change the color of an object without losing its detail?

    Hi all

    I get by creating most of the time the artwork for my ad in photoshop, my finished product is always good, but I'm not an expert by any means.

    Currently, I am in need a yellow real estate sign post... all sock images that I can find to buy are white. I'm sure that there is a way to fix it, but I'm coming without the required knowledge...

    Starting with an image like this:

    [IMG] http://i1043.Photobucket.com/albums/B439/just_luc/Firefox%20Uploads/stock-vector-for-sale-Signe-vecteur-1.jpg [/IMG]

    (And before everyone says anything yes I know this is proof... I fully intend to purchase the image once I determin I'll be able to use it for my needs.)

    I tried just using the paint bucket tool in the color I need:

    [IMG] http://i1043.Photobucket.com/albums/B439/just_luc/Firefox%20Uploads/test.jpg [/IMG]

    If I spend a little time I can obviously do a better job, filling all space missed, but the image loses the grain of wood and other details...

    Is there a better way to do this?

    As always with Photoshop, there are several ways to achieve this.

    One method would be to select the woodwork in the Panel (see below) and to promote this selection into a new layer Ctrl (or cmd on a Mac) + J

    Then select the layer effects (by clicking on the button fx at the bottom of the layers panel.

    Then select color overlay

    Choose the color that you want to

    Then play with the blend mode (you will probably find that multiply or color will work better - but have a play).

    To select the woodwork, you can use a number of methods, including the following:

    Use the pen tool and then convert the path to a selection

    Go to the menu select, then select color range

    Use the quick selection

    There are other ways (do a search to make selections in Google)

    Another method would be to create an empty layer above the layer that has the Panel and then (on this layer) with the paint brush tool on the Panel with the color you want. If you multiply or the selected color in the blend mode, you can keep all the texture of the original image.

    As I said there are probably at least another 99 ways to do it - the above is only a few suggestions.

    I suggest that you have a good game and see what happens.

    Any clarification - then just after again.

    See you soon

    John

  • Change the length of the line

    Hello.  Me once again.

    I'm still working on my pulley sim card.  I have two wieghts hanging from a pulley.  When the user drags one down, another upward as a result.  I'm trying to figure out how to make the line representing the string grow and shrink by moving the weight.  I drew the line like this:

    var lineW:MovieClip = new MovieClip();
    addChild (lineW);
    lineW.graphics.lineStyle (1);
    lineW.graphics.moveTo (178,127);
    lineW.graphics.lineTo (weight_mc.x, weight_mc.y);

    But I don't know how to change the length.  I tried the new route of the line in the Enter_Frame function which shifts the weight, but it added to the line without shortening it.

    Any suggestions?

    You want to make a lineW.graphics.clear () so that you redraw the line when you need, and not only add beforehand.

  • How can I change the length of a photo in iMovie? I can't drag the edge because the cursor is red.

    I have a problem in iMovie 10.1.2.  I can no longer select a photo and to extend its length, i.e. from 3 seconds to 4 seconds. My cursor is red and I can't return the normal cursor.

    Hi, jhskyline,

    To change the length (duration) of a photo in iMovie 10.1.1 (latest version), select the photo in the timeline panel, and then click the Info button in the toolbar at the top of your screen.  It is one that has an 'i' with a circle around it.   On the right, you will see a box of duration.  Type in the length you want and press return on your keyboard.

    Another way is to expand the line of time slightly with the cursor located above the timeline and right next to the settings button.  Then, you can select the photo and drag his edge to extend.

  • How to change the languages of programming or command line

    How to change the languages of programming or command line?

    Everything you need to go through the control panal do. Click on tab "language". Its pretty self explainable there.

Maybe you are looking for