Actions
Document.Actions property
يحصل على إجراءات المستند. هذه الخاصية هي مثيل لفئة DocumentActions التي تسمح بالحصول على / تعيين إجراءات BeforClosing و BeforSaving وما إلى ذلك.
public DocumentActionCollection Actions { get; }
أمثلة
يوضح هذا المثال كيفية الحصول على الإجراء بعد فتح المستند:
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;
أنظر أيضا
- class DocumentActionCollection
- class Document
- مساحة الاسم Aspose.Pdf
- المجسم Aspose.PDF