Class PdfPSXObject

    • Constructor Detail

      • PdfPSXObject

        protected PdfPSXObject()
        Creates a new instance of PdfPSXObject
      • PdfPSXObject

        public PdfPSXObject​(PdfWriter wr)
        Constructs a PSXObject
        Parameters:
        wr -
    • Method Detail

      • getFormXObject

        public PdfStream getFormXObject​(int compressionLevel)
                                 throws java.io.IOException
        Gets the stream representing this object.
        Overrides:
        getFormXObject in class PdfTemplate
        Parameters:
        compressionLevel - the compressionLevel
        Returns:
        the stream representing this template
        Throws:
        java.io.IOException
        Since:
        2.1.3 (replacing the method without param compressionLevel)
      • getDuplicate

        public PdfContentByte getDuplicate()
        Gets a duplicate of this PdfPSXObject. All the members are copied by reference but the buffer stays different.
        Overrides:
        getDuplicate in class PdfTemplate
        Returns:
        a copy of this PdfPSXObject