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}



Tato práce podléhá licenci Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.  Na příspěvky ze služeb Twitter™ a Facebook se nevztahují podmínky licence Creative Commons.

Právní upozornění   |   Zásady ochrany osobních údajů online