Click or drag to resize

PdfNamedAction Class

PdfNamedAction is a PdfAction class that is used for causing specific behaviors to occur in the PDF viewer. The PDF specification defines a number of standard navigation named actions that are to be implemented in all PDF viewers, but any named action could be defined. The standard names are: NextPageGo to the next page in the document (if there is one)PrevPageGo to the previous page in the document (if there is one)FirstPageGo to the first page in the documentLastPageGo to the last page in the document The advantage to using PdfNamedAction instead of PdfGoToViewAction is that the named actions aren't tied to a particular page so if, for example, a PushButtonWidgetAnnotation labeled "Next" has a "NextPage" action, the widget will always work correctly no matter how the pages have been ordered. This allows an author to easily put navigation buttons on pages for reading or for skipping to, say, a contents page at the beginning or an index page at the end.
Inheritance Hierarchy
SystemObject
  Atalasoft.PdfDocPdfAction
    Atalasoft.PdfDoc.ActionsPdfNamedAction

Namespace:  Atalasoft.PdfDoc.Actions
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
public class PdfNamedAction : PdfAction

The PdfNamedAction type exposes the following members.

Constructors
  NameDescription
Public methodPdfNamedAction
Initializes a new instance of the PdfNamedAction class. The Name property will be initialized to "NextPage".
Public methodPdfNamedAction(String)
Initializes a new instance of the PdfNamedAction class.
Top
Properties
  NameDescription
Public propertyActionType
Gets the type of the action represented by this object. Returns PdfActionType.PerformNamedAction.
(Overrides PdfActionActionType.)
Public propertyName
Gets or sets the name for this action.
Top
Methods
  NameDescription
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 methodStatic memberIsStandardName
Determines whether name is a member of the set of standard names: "NextPage", "PrevPage", "FirstPage" or "LastPage".
Protected methodLLValidate
Low-level validation. Not for use by client code
(Inherited from PdfAction.)
Public methodMakeRepairContext
Makes the repair context for repairing problems in this object. An object implementing IValidatable should at least return an empty RepairContext object.
(Inherited from PdfAction.)
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.
(Inherited from PdfAction.)
Top
See Also