Issue

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?

Solution

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.

http://s7d7.scene7.com/is/agm/GlennDallasCo/pageSizedImage?setAttr.page={d:pageHeight=200%26d:pageWidth=200}

http://s7d7.scene7.com/is/agm/GlennDallasCo/pageSizedImage?setAttr.page={x=-100%26y=-200%26d:pageHeight=200%26d:pageWidth=200}

http://s7d7.scene7.com/is/agm/GlennDallasCo/pageSizedImage?setAttr.page={x=-250%26y=-400%26d:pageHeight=200%26d:pageWidth=200}



Esta obra está autorizada con arreglo a la licencia de Reconocimiento-NoComercial-CompartirIgual 3.0 Unported de Creative Commons.  Los términos de Creative Commons no cubren las publicaciones en Twitter™ y Facebook.

Avisos legales   |   Política de privacidad en línea