Sample script: TRIM attribute
An image "logo.png" is placed 1inch from the top of a page being defined in IDF.
The same image is placed 3inches from the top of the IDF page, but with white pixels at the edges TRIMmed off.
The second page of the document "Results pdf" is placed, trimmed, at the lower-right of the IDF page.
<GROUP LEFT= "1" TOP="1" WIDTH="0.5" HEIGHT="0.4" SHAPE="BOX" DEBUG="So far"> <GROUP LEFT= "1" TOP="3" WIDTH="0.5" HEIGHT="0.4" SHAPE="BOX" DEBUG="So good"> <FILE FILENAME="Results.pdf" PAGE="2" ALIGN="BOTTOM,RIGHT" TRIM="YES"/> </PAGE> </IDF> |
A DEBUG comment has been placed in each group for monitoring the progress of the document composition. In this example, click the warning button on the EscapeE toolbar to display the message in the console log:
So far at byte 100 |
Links: