iText 7 7.1.8 API
|
An abstract wrapper for supported types of XObject. More...
Public Member Functions |
|
virtual void | SetLayer (IPdfOCG layer) |
Sets the layer this XObject belongs to. More... |
|
virtual float | GetWidth () |
Gets width of XObject. More... |
|
virtual float | GetHeight () |
Gets height of XObject. More... |
|
virtual void | AddAssociatedFile (PdfFileSpec fs) |
Adds file associated with PDF XObject and identifies the relationship between them. More... |
|
virtual PdfArray | GetAssociatedFiles (bool create) |
Returns files associated with XObject. More... |
|
Public Member Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfStream > | |
virtual T | GetPdfObject () |
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document, PdfIndirectReference reference) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | SetModified () |
virtual void | Flush () |
virtual bool | IsFlushed () |
Static Public Member Functions |
|
static iText.Kernel.Pdf.Xobject.PdfXObject | MakeXObject (PdfStream stream) |
Create PdfFormXObject or PdfImageXObject by iText.Kernel.Pdf.PdfStream More... |
|
An abstract wrapper for supported types of XObject.
|
inlinevirtual |
Adds file associated with PDF XObject and identifies the relationship between them.
Adds file associated with PDF XObject and identifies the relationship between them. Associated files may be used in Pdf/A-3 and Pdf 2.0 documents. The method adds file to array value of the AF key in the XObject dictionary.
For associated files their associated file specification dictionaries shall include the AFRelationship key
fs | file specification dictionary of associated file |
|
inlinevirtual |
Returns files associated with XObject.
|
inlinevirtual |
Gets height of XObject.
Reimplemented in iText.Kernel.Pdf.Xobject.PdfFormXObject, and iText.Kernel.Pdf.Xobject.PdfImageXObject.
|
inlinevirtual |
Gets width of XObject.
Reimplemented in iText.Kernel.Pdf.Xobject.PdfFormXObject, and iText.Kernel.Pdf.Xobject.PdfImageXObject.
|
inlinestatic |
Create PdfFormXObject or PdfImageXObject by iText.Kernel.Pdf.PdfStream
stream |
iText.Kernel.Pdf.PdfStream with either iText.Kernel.Pdf.PdfName.Form or iText.Kernel.Pdf.PdfName.Image
iText.Kernel.Pdf.PdfName.Subtype
|
inlinevirtual |
Sets the layer this XObject belongs to.
layer | the layer this XObject belongs to. |