7 Replies Latest reply on Aug 12, 2011 4:08 PM by Laubender

    Export a text frame to pdf with the same dimension as that of text box

    Manan Joshi Level 4

      Hello All,

       

      i have a problem, i need to export a text box on a page  to pdf using javascript. The requirement is that i need to create the pdf with the same dimensions as that of the textbox i.e the height and width of the exported pdf should be same as that of the text box.

       

      I figured a method  "exportFile" on the "Textframe" object that is supposed to export an object to a file with the specified format. But using that with a textframe object results in the export of the whole page.

       

      Please help me with the problem

       

      Thanking all in advance.