- Getting Started
- Memory Usage
- Readers and Writers
- The Document Class
- Page Layout and Mode
- Viewer Preferences
- Document Outline
- Page Labels
- Embedded File Streams
- Colors and Color Spaces
- Page Formats and Boundaries
- Standard and Public Key Encryption
- Fonts and Encodings
- Corrupted Documents
- Reader Enabled Documents
- Refactor Old SetaPDF Code
- API Reference
Widget Annotation Class
A widget annotation represents the appearance of form fields in an interactive PDF form. It is represented by the SetaPDF_Core_Document_Page_Annotation_Widget class.
Technically a widget annotation can be created with SetaPDF but its usage requires much more low level logic. You should only use this class from existing document instances.
This class doesn't offers functionalities to edit form field values!
You may check out the SetaPDF-FormFiller component for such task.
The classes implements getter and setter methods to access the individual annotation data:
Get the action of the annotation.
Get the appearance characteristics object.
Get the height of the annotation.
Get the width of the annotation.
Set the action of the annotation.