Class PdfPSXObject


public class PdfPSXObject extends PdfTemplate
Implements the PostScript XObject.
  • Constructor Details

    • PdfPSXObject

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

      public PdfPSXObject(PdfWriter wr)
      Constructs a PSXObject
      Parameters:
      wr - the PdfWriter
  • Method Details

    • getFormXObject

      PdfStream getFormXObject(int compressionLevel)
      Gets the stream representing this object.
      Overrides:
      getFormXObject in class PdfTemplate
      Parameters:
      compressionLevel - the compressionLevel
      Returns:
      the stream representing this template
      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