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}

Ta zawartość jest licencjonowana na warunkach licencji Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Posty z serwisów Twitter™ i Facebook nie są objęte licencją Creative Commons.

Informacje prawne   |   Zasady prywatności online