Class PdfAnnotationAdditionalActions
A wrapper for annotations additional actions dictionaries.
public class PdfAnnotationAdditionalActions : PdfObjectWrapper<PdfDictionary>
- Inheritance
-
PdfAnnotationAdditionalActions
- Inherited Members
Remarks
A wrapper for annotations additional actions dictionaries. See section 12.6.3 Table 197 of ISO 32000-1. An annotation additional actions dictionary defines the event handlers for annotations
Constructors
PdfAnnotationAdditionalActions(PdfDictionary)
public PdfAnnotationAdditionalActions(PdfDictionary pdfObject)
Parameters
pdfObject
PdfDictionary
Methods
GetAllKnownActions()
Lists every PdfAction for all documented events for an annotation's additional actions.
public virtual IList<PdfAction> GetAllKnownActions()
Returns
Remarks
Lists every PdfAction for all documented events for an annotation's additional actions. See section 12.6.3 Table 197 of ISO 32000-1
GetOnEnter()
Returns the PdfAction for the OnEnter event if there is any, or null.
public virtual PdfAction GetOnEnter()
Returns
GetOnExit()
Returns the PdfAction for the OnExit event if there is any, or null.
public virtual PdfAction GetOnExit()
Returns
GetOnFocus()
Returns the PdfAction for the OnFocus event if there is any, or null.
public virtual PdfAction GetOnFocus()
Returns
GetOnLostFocus()
Returns the PdfAction for the OnLostFocus event if there is any, or null.
public virtual PdfAction GetOnLostFocus()
Returns
GetOnMouseDown()
Returns the PdfAction for the OnMouseDown event if there is any, or null.
public virtual PdfAction GetOnMouseDown()
Returns
GetOnMouseUp()
Returns the PdfAction for the OnMouseUp event if there is any, or null.
public virtual PdfAction GetOnMouseUp()
Returns
GetOnPageClosed()
Returns the PdfAction for the OnPageClosed event if there is any, or null.
public virtual PdfAction GetOnPageClosed()
Returns
GetOnPageLostView()
Returns the PdfAction for the OnPageLostView event if there is any, or null.
public virtual PdfAction GetOnPageLostView()
Returns
GetOnPageOpened()
Returns the PdfAction for the OnPageOpened event if there is any, or null.
public virtual PdfAction GetOnPageOpened()
Returns
GetOnPageVisible()
Returns the PdfAction for the OnPageVisible event if there is any, or null.
public virtual PdfAction GetOnPageVisible()
Returns
GetPdfActionForEvent(PdfName)
If exists, returns the PdfAction for this event, otherwise returns null.
public virtual PdfAction GetPdfActionForEvent(PdfName eventName)
Parameters
Returns
IsWrappedObjectMustBeIndirect()
protected override bool IsWrappedObjectMustBeIndirect()
Returns
SetOnEnter(PdfAction)
Sets the PdfAction to perform on the OnEnter event, or removes it when action is null.
public virtual void SetOnEnter(PdfAction action)
Parameters
SetOnExit(PdfAction)
Sets the PdfAction to perform on the OnExit event, or removes it when action is null.
public virtual void SetOnExit(PdfAction action)
Parameters
SetOnFocus(PdfAction)
Sets the PdfAction to perform on the OnFocus event, or removes it when action is null.
public virtual void SetOnFocus(PdfAction action)
Parameters
SetOnLostFocus(PdfAction)
Sets the PdfAction to perform on the OnLostFocus event, or removes it when action is null.
public virtual void SetOnLostFocus(PdfAction action)
Parameters
SetOnMouseDown(PdfAction)
Sets the PdfAction to perform on the OnMouseDown event, or removes it when action is null.
public virtual void SetOnMouseDown(PdfAction action)
Parameters
SetOnMouseUp(PdfAction)
Sets the PdfAction to perform on the OnMouseUp event, or removes it when action is null.
public virtual void SetOnMouseUp(PdfAction action)
Parameters
SetOnPageClosed(PdfAction)
Sets the PdfAction to perform on the OnPageClosed event, or removes it when action is null.
public virtual void SetOnPageClosed(PdfAction action)
Parameters
SetOnPageLostView(PdfAction)
Sets the PdfAction to perform on the OnPageLostView event, or removes it when action is null.
public virtual void SetOnPageLostView(PdfAction action)
Parameters
SetOnPageOpened(PdfAction)
Sets the PdfAction to perform on the OnPageOpened event, or removes it when action is null.
public virtual void SetOnPageOpened(PdfAction action)
Parameters
SetOnPageVisible(PdfAction)
Sets the PdfAction to perform on the OnPageVisible event, or removes it when action is null.
public virtual void SetOnPageVisible(PdfAction action)
Parameters
SetPdfActionForEvent(PdfName, PdfAction)
Sets the action for an event, or removes it when the action is null.
public virtual void SetPdfActionForEvent(PdfName @event, PdfAction action)