2 Replies Latest reply on Mar 29, 2012 8:33 AM by dohanlon

    Change paper type (A4) via JavaScript


      Hi all,

      I want to change the paper type via Java Script to A4.

      The hierarchy:

      data  -->pageSet -->page1 (A4)


      Is this the right syntax, if I want ot switch the page1 to A4? ...and which "Event" should I use? --->initialize?


      data::initialize - (JavaScript, both) 

      xfa.data.pageSet.page1.medium.stock = "A4";