I want to change the dimension of the file for the output PDF, so it’s a part of the whole. Do I use setAttr.rootElement to adjust viewHeight and viewWidth?


viewWidth and viewHeight settings in the root element are ignored when the group corresponding to the artboard or page contains d:pageWidth and d:pageHeight.

To diminish the viewing area on a given page or artboard, add an s7:elementID to the group corresponding to the artboard or page. Then, apply a DOM call to change d:pageWidth or d:pageHeight. You could also increment the viewable area by offsetting x and y for the group.{d:pageHeight=200%26d:pageWidth=200}{x=-100%26y=-200%26d:pageHeight=200%26d:pageWidth=200}{x=-250%26y=-400%26d:pageHeight=200%26d:pageWidth=200}

Lisensoitu Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License -lisenssin mukaan.  Creative Commons -lisenssien ehdot eivät koske Twitter™- ja Facebook-viestejä.

Lakisääteiset ilmoitukset   |   Online-tietosuojakäytäntö