AddDocumentAdditionalAction
PdfContentEditor.AddDocumentAdditionalAction method
Belge olayı için ek eylem ekler.
public void AddDocumentAdditionalAction(string eventType, string code)
Parametre | Tip | Tanım |
---|---|---|
eventType | String | Belge olay türleri. |
code | String | JavaScript’in kodu. |
Örnekler
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.AddDocumentAdditionalAction(PdfContentEditor.DocumentClose, "app.alert('Good-bye!');");
editor.Save("example_out.pdf");
Ayrıca bakınız
- class PdfContentEditor
- ad alanı Aspose.Pdf.Facades
- toplantı Aspose.PDF