Take a survey

Developing Applications Using APIs > Assembling PDF Documents > Working with File Attachments > Preserving and deleting file attachments

Preserving and deleting file attachments
By default, attachments from all source documents are preserved in the result document. To exclude attachments, use the NoFileAttachments element.
Example: Excluding attachments from a source document
<PDF result="doc3.pdf">
	<PDF source="doc1.pdf">
		<NoFileAttachments/>
	</PDF>
	<PDF source="doc2.pdf"/>
</PDF>
The example above excludes attachments from doc1.pdf and includes those from doc2.pdf. The following example excludes all file attachments by making the NoFileAttachments element a child of the result element.
Example: Excluding all file attachments
<PDF result="doc3.pdf">
	<NoFileAttachments/> 
	<PDF source="doc1.pdf"/>
	<PDF source="doc2.pdf"/>
</PDF>
Note: The NoFileAttachments element and the FileAttachments element cannot be siblings.

 

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/assemblePDFFile_attachments.99.2.html