Module itextpdf

Class PRIndirectReference

    • Method Detail

      • toPdf

        public void toPdf​(PdfWriter writer,
                          java.io.OutputStream os)
                   throws java.io.IOException
        Description copied from class: PdfObject
        Writes the PDF representation of this PdfObject as an array of bytes to the writer.
        Overrides:
        toPdf in class PdfObject
        Parameters:
        writer - for backwards compatibility
        os - The OutputStream to write the bytes to.
        Throws:
        java.io.IOException
      • setNumber

        public void setNumber​(int number,
                              int generation)