1 Reply Latest reply on Nov 22, 2012 4:30 AM by sal_iqkhn

    How to export full image in PNG format lying inside a smaller sized rectangle?




      In my own created extension for adobe inDesign using CS Extension builder 1.5, I am trying to export a page item lying inside a rectangle frame longer than frame height. Full image is not exported but it gets cropped which is of the rectangle height. I need to get full image exported in PNG format. The item can be text/image/drawing/or group of multiple items lying inside a rectangle frame.


      Sometimes the correct image is exported although the rectangle frame size is smaller than the inside image/item. Following is the code I’m using to export the page item.


      var targetItem:PageItem = pageItem.allPageItems[0];

      targetItem.exportFile(ExportFormat.PNG_FORMAT, targetFile, false);


      Can anybody help me out?


      Thanks and best regards