Click or drag to resize

PdfActionCollection Class

Represents a collection of PdfActions.

Note  Note
This collection is implemented as singly linked list and therefore methods that use random access (index) are an O(n) operations, where n is Count.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.PdfPdfCollection
      SautinSoft.PdfPdfCollectionPdfAction
        SautinSoft.Pdf.ActionsPdfActionCollection
          SautinSoft.Pdf.FormsPdfFieldActionCollection

Namespace: SautinSoft.Pdf.Actions
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.3.13
Syntax
public class PdfActionCollection : PdfCollection<PdfAction>, 
	IList, ICollection, IEnumerable, IList<PdfAction>, 
	ICollection<PdfAction>, IEnumerable<PdfAction>

The PdfActionCollection type exposes the following members.

Methods
 NameDescription
Public methodAddGoToPageView(PdfDestination) Adds a new PdfGoToPageViewAction with the explicit destination to the PdfActionCollection.
Public methodAddGoToPageView(String) Adds a new PdfGoToPageViewAction with the named destination to the PdfActionCollection.
Public methodAddGoToPageView(PdfPage, PdfDestinationViewType, NullableDouble)

Adds a new PdfGoToPageViewAction with the explicit destination to the PdfActionCollection.

parameters represent the following values depending on the viewType parameter:

FitRectangle
Left, Bottom, Right and Top.
LeftTopZoom
Left, Top and Zoom.
FitPageVertical and FitContentVertical
Left.
FitPageHorizontal and FitContentHorizontal
Top.
FitPage and FitContent
None.
Public methodAddImportFormData Adds a new PdfImportFormDataAction with the import data file path to the PdfActionCollection.
Public methodAddOpenFile Adds a new PdfOpenFileAction to the PdfActionCollection.
Public methodAddOpenWebLink Adds a new PdfOpenWebLinkAction to the PdfActionCollection.
Public methodAddResetForm Adds a new PdfResetFormAction to the PdfActionCollection.
Public methodAddSubmitForm Adds a new PdfSubmitFormAction with the Web server script's URL to the PdfActionCollection.
Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions)
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddArray Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also