Note: For Adobe Reader 7.0 and later, this method is allowed if the document has file attachment rights, but the document to be embedded must have document Save rights in case it has changed.
(optional) The language-independent name of a crypt filter to use when encrypting this data object. This crypt filter must have previously been added to the document’s list of crypt filters, using the addRecipientListCryptFilter method, otherwise an exception will be thrown. The predefined Identity crypt filter can be used so that this data object is not encrypted in a file that is otherwise encrypted by the encryptForRecipients method. (optional) If true, an alert may be shown if oDoc requires saving and the permissions do not allow it to be saved. Default value is false.An envelope file that includes a “myFilter” crypt filter has been previously authored and has been included in the current document.var authorEmail = "johndoe@example.com";var envelopeDoc = this.openDataObject( "envelope" );envelopeDoc.embedDocAsDataObject( "attachment", this, "myFilter" );envelopeDoc.title.Author = authorEmail;envelopeDoc.mailDoc({cTo: "support@example.com",cSubject: "Application from " + authorEmail});
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.454.html