1 Reply Latest reply on Sep 22, 2012 7:17 AM by Laubender

    [CS 6] How to update object after resizing page?

    liedzeit Level 2

      I need to resize a page (vertically) until a text fits. I thought I use the autosize property of the text frame.

      So I set

      autoSizingType=AutoSizingTypeEnum.HEIGHT_ONLY

       

      and then I resize the page by factor 1.1 until there is no more overset.

       

      The problem is that the text frame jumps to the size of the page (actually the pasteboard) but then the height does not grow when I resize the page. (The same is true in the GUI).

       

      It seems to be an updating problem. I solved it by inserting a character in my text frame and then deleting it in every loop. But this seems rather silly. How can I get my frame to autoresize after size of page changes?

       

      Thank you,

      Ralf