Click or drag to resize

PageAdditionalActions Class

PageAdditionalActions represent a set of actions that are performed when a page has been either opened or closed. Opening or closing a page within a PDF viewer navigates to or away from a viewable page. The PDF specification is not clear as to what will happen when a viewer supports showing multiple pages at once. When going from page to page, the OnPageClosed actions on the current page will happen before the OnPageOpened actions on the subsequent page.
Adding a sound to play when a page has been opened.
public void AddSoundToPageOpened(PdfGeneratedPage page, PdfSoundAction openSound)
Inheritance Hierarchy

Namespace:  Atalasoft.PdfDoc.Actions
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: (.NET 4.5.2, x86)
public class PageAdditionalActions : IValidatable

The PageAdditionalActions type exposes the following members.

Public methodPageAdditionalActions
Initializes a new instance of the PageAdditionalActions class. All actions will be empty lists.
Public propertyOnPageClosed
Gets the actions to be performed when a page has been closed. This is initialized to an empty list.
Public propertyOnPageOpened
Gets the actions to be performed when a page has been opened. This is initialized to an empty list.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsEmpty
Determines whether all action lists are empty.
Public methodMakeRepairContext
Makes the repair context for repairing problems in this object. An object implementing IValidatable should at least return an empty RepairContext object.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validates the object and accumulates any problems in the problems list.
See Also