Action Class Documentation

class Action : SystemIDisposable

Namespace:Datalogics::PDFL

Inherits from:
SystemIDisposable
Derived classes:
GoToAction, LaunchAction, RemoteGoToAction, URIAction

Detailed Description

When a user clicks a link or bookmark in a PDF, an action occurs, moving the reader to a new location.

An action can involve moving the reader to a new page in the file, for example.

Also, with a PDF Viewer a PDF file can have an Action that runs automatically when a user opens the file, or reaches a specific page.

Applications can support Actions in custom annotation types they add. Only GoTo and URI Actions are supported; you can only use an Action with the interface to move from one part of a file to another or open an external web page.

Referenced by

Uses types

Constructor & Destructor Documentation

Action

Action(Document doc, string type)

Parameters

doc: Document

The document in which the action is created.

type: string

The string corresponding to the action's subtype.

Creates a new action object.

Property Documentation

PDFDict

PDFDict PDFDict[get]

Retrieve the PDFObject representation of this object.

Subtype

string Subtype[get]

The action's subtype.

Member Function Documentation

Dispose

void Dispose()

Returns:

void

Equals

override bool Equals(object obj)

Parameters

obj: object

Returns:

override bool

ToString

override string ToString()

Returns:

override string

A string describing this Action.

Returns a string representation of this Action.

The string includes the action's subtype.