title: How to define an annotation in PDF
body: <p>I started working on iText 5.3.2. I want to add annotations to an existing PDF document. I achieved it using the code found here </p>
  
  <p><img src="https://i.stack.imgur.com/CiW4g.jpg" alt="enter image description here"></p>
  
  <p>Now my concern is how to :</p>
  
  <ol>
  <li>set the position of popup being opened on click of the annotation</li>
  <li>set the font of the popup data</li>
  <li>set the subject of the annotation</li>
  <li>set the default state of the popup (open or close) (i used the this constructor but it didn't helped, notice the true,second last arguement)--><code>PdfAnnotation.createText(writer, new Rectangle(400,480,420,500), "Title", "Text", true, "Help");</code></li>
  </ol>
  
  <p>I have taken the reference from <a href="http://what-when-how.com/itext-5/" rel="nofollow noreferrer">here</a></p>