Widget Annotation Class

Table of Contents

  1. Introduction
    1. Methods

      Introduction

      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. 

      Methods

      The classes implements getter and setter methods to access the individual annotation data:

      getAction()

      Get the action of the annotation.

      getAppearanceCharacteristics()

      Get the appearance characteristics object.

      getHeight()

      Get the height of the annotation.

      getWidth()

      Get the width of the annotation.

      setAction()

      Set the action of the annotation.