Class PdfButtonAction

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

What a PdfPushButton does when clicked. These are standard PDF actions (ISO 32000-1 §12.6.4) and need no JavaScript.

public sealed class PdfButtonAction
Inheritance
PdfButtonAction
Inherited Members

Examples

page.AddPushButton("Reset", 72, 100, 100, 24, "Clear form").Action = PdfButtonAction.ResetForm();

Remarks

The viewer performs the action, so support varies: desktop viewers such as Adobe Acrobat Reader handle all of them, while browser and mobile viewers may ignore form submission.

Methods

GoToPage(PdfPage, double?)

Jumps to a page of the same document.

OpenUri(Uri)

Opens a web address or other URI.

ResetForm()

Resets every field of the form to its default value.

SubmitForm(Uri, PdfSubmitFormat)

Sends the values of every form field to a URL.