com.lowagie.text.pdf

Class PdfPSXObject

public class PdfPSXObject extends PdfTemplate

Implements the PostScript XObject.
Constructor Summary
protected PdfPSXObject()
Creates a new instance of PdfPSXObject
PdfPSXObject(PdfWriter wr)
Constructs a PSXObject
Method Summary
PdfContentBytegetDuplicate()
Gets a duplicate of this PdfPSXObject.
PdfStreamgetFormXObject()
Gets the stream representing this object.

Constructor Detail

PdfPSXObject

protected PdfPSXObject()
Creates a new instance of PdfPSXObject

PdfPSXObject

public PdfPSXObject(PdfWriter wr)
Constructs a PSXObject

Parameters: wr

Method Detail

getDuplicate

public PdfContentByte getDuplicate()
Gets a duplicate of this PdfPSXObject. All the members are copied by reference but the buffer stays different.

Returns: a copy of this PdfPSXObject

getFormXObject

PdfStream getFormXObject()
Gets the stream representing this object.

Returns: the stream representing this object

Throws: IOException