2 Replies Latest reply on Sep 22, 2014 10:50 PM by hamdifem

    fractions box help

    hamdifem

      as the picture, how to drawing only the first line of the paragraph for

       

      Image_09.jpg


      var box1 = app.selection [0] .texts [0] .insertionPoints.item (-1) .textFrames.add ();

      box1.geometricBounds = [0, 0, 6,4, 7];

      var y1 = "1234"

      var y2 = "\ r5678";

      var txt = box1.texts [0] .insertionPoints.item (-1) .contents = y1 + y2;

      //box1.texts[0].underline=true; // Paragraf ???

      //box1.underlineOffset = 1 'dir; // Paragraf ???

      box1.anchoredObjectSettings.anchorYoffset = -2,283;

      box1.texts [0] = .appliedFont "Swis721 BT \ tRoman";

      box1.texts [0] .pointSize = 8;

      box1.texts [0] = .justification Justification.CENTER_ALIGN;

      box1.texts [0] .leading = 12;