Actions
Document.Actions property
Hämtar dokumentåtgärder. Denna egenskap är en instans av klassen DocumentActions som gör det möjligt att hämta/ställa in BeforClosing, BeforSaving, etc. åtgärder.
public DocumentActionCollection Actions { get; }
Exempel
Det här exemplet visar hur man får fram efter öppen handling av dokumentet:
Aspose.Pdf.Document document = new Aspose.Pdf.Document("d:\\work\\aspose\\aspose.pdf.kit.net.new\\trunk\\testdata\\Aspose.Pdf\\PdfWithOpenAction.pdf");
Aspose.Pdf.Annotations.DocumentActionCollection actions = document.Actions;
Aspose.Pdf.Annotations.PdfAction afterSavingAction = actions.AfterSaving;
Se även
- class DocumentActionCollection
- class Document
- namnutrymme Aspose.Pdf
- hopsättning Aspose.PDF