Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4168

Add a setTextRise() method to PDPageContentStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0.9
    • 2.0.10, 3.0.0 PDFBox
    • PDModel
    • None

    Description

      Seeing that the appendRawCommand() methods are deprecated, it is necessary for PDPageContentStream to implement every PDF operator explicitly. This one is both simple and useful:

      public void setTextRise(float rise) throws IOException {
          writeOperand(rise);
          writeOperator("Ts");
      }

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            mgiovann Matías Giovannini
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: