AddDocumentAdditionalAction
PdfContentEditor.AddDocumentAdditionalAction method
Fügt zusätzliche Aktion für Dokumentereignis hinzu.
public void AddDocumentAdditionalAction(string eventType, string code)
Parameter | Typ | Beschreibung |
---|---|---|
eventType | String | Die Dokumentereignistypen. |
code | String | Der Code von JavaScript. |
Beispiele
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.AddDocumentAdditionalAction(PdfContentEditor.DocumentClose, "app.alert('Good-bye!');");
editor.Save("example_out.pdf");
Siehe auch
- class PdfContentEditor
- namensraum Aspose.Pdf.Facades
- Montage Aspose.PDF