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

    Change paper type (A4) via JavaScript

    MF321

      Hi all,

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

      The hierarchy:

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

      Image.png

      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";