example usage because code speaks louder of words, and the details were moderately difficult to find the first time. Using itextpdf.