Class FreeTextAnnotation

java.lang.Object
org.jpedal.io.annotation.WritableAnnotation
org.jpedal.io.annotation.FreeTextAnnotation

public class FreeTextAnnotation extends WritableAnnotation
Class generates Free Text Annotation
See Also:
  • Constructor Details

    • FreeTextAnnotation

      public FreeTextAnnotation(int page, float x0, float y0, float x1, float y1, FormObject form)
      Constructor for creating Freetext Annotation
      Parameters:
      page - the page number where annotation to be appeared (starting from 0)
      x0 - pdf based min x point
      y0 - pdf based min y point
      x1 - pdf based max x point
      y1 - pdf based max y point
      form - FormObject containing all the forms values
    • FreeTextAnnotation

      public FreeTextAnnotation(int page, float x0, float y0, float x1, float y1, String htmlText)
      Constructor for creating Freetext Annotation
      Parameters:
      page - the page number where annotation to be appeared (starting from 0)
      x0 - pdf based min x point
      y0 - pdf based min y point
      x1 - pdf based max x point
      y1 - pdf based max y point
      htmlText - text to be appeared in free text annotation
  • Method Details