Click or drag to resize
Pdf Library for .NET

PdfAction Class

The base class for actions that can be triggered in a PDF document, for example when the document is opened. Use a concrete subclass such as PdfActionGoTo or PdfActionJavaScript.
Inheritance Hierarchy
SystemObject
  SelectPdf.UniversalPdfAction
    SelectPdf.UniversalPdfActionGoTo
    SelectPdf.UniversalPdfActionJavaScript

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public abstract class PdfAction
Example
PdfDocument document = new PdfDocument();
PdfPage page = document.AddPage();
PdfAction action = new PdfActionGoTo(new PdfDestination(page, 0, 0));
document.OpenAction.Action = action;
document.Save("out.pdf");
document.Close();
See Also