Take a survey

Developing Applications Using APIs > Assembling PDF Documents > Adding and Manipulating Page Content > Understanding rendering order

Understanding rendering order
When a PageOverlay or PageUnderlay is added to page content in a PDF result block, that saved (or transient) PDF, if used in a subsequent result block, should not be regarded as containing the PageOverlay or PageUnderlay, since it is no longer separable from the other page content and cannot be removed from that saved PDF.
The order of appearance can be affected by the fact that watermarks and backgrounds can be added and removed, as well as the fact that the order within one PDF result block is set by the Assembler service, not by the order specified within the result block.
When adding a new PageOverlay, Watermark, Background or PageUnderlay in one result block, there is a relationship between the PageOverlay and Watermark since both are page content added over existing page content. There is a similar relationship between a Background and PageUnderlay since they are page content added behind existing page content.
The order is fixed by the Assembler service when specifying a PageOverlay and Watermark in the same result block. The Watermark is applied first and the overlay second, so that the PageOverlay will appear on top of, or in front of, the Watermark.
Similarly, the order is fixed by the Assembler service when specifying a PageUnderlay and Background in the same result block. The Background is applied first and the PageUnderlay second, so that the PageUnderlay will appear behind, or underneath, the Background.
In some cases you may want to add a Watermark over a PageOverlay, or add a Background under a PageUnderlay. You cannot accomplish this order within one result block, since the order is fixed. However, you can accomplish this by first applying the PageOverlay or PageUnderlay and either saving it or using it as transient data, and then applying the Watermark or Background.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/assemblePDFPage_content.103.7.html