iText 9.8.0 API
iText.Kernel.Pdf.Colorspace.PdfSpecialCs.DeviceN Class Reference
Inheritance diagram for iText.Kernel.Pdf.Colorspace.PdfSpecialCs.DeviceN:
iText.Kernel.Pdf.Colorspace.PdfSpecialCs iText.Kernel.Pdf.Colorspace.PdfColorSpace iText.Kernel.Pdf.PdfObjectWrapper< PdfObject > iText.Kernel.Pdf.Colorspace.PdfSpecialCs.NChannel

Public Member Functions

  DeviceN (PdfArray pdfObject)
 
  DeviceN (PdfArray names, PdfObject alternateSpace, PdfObject tintTransform)
 
  DeviceN (IList< String > names, PdfColorSpace alternateSpace, IPdfFunction tintTransform)
  Creates a new DiviceN colorspace. More...
 
override int  GetNumberOfComponents ()
 
virtual PdfColorSpace  GetBaseCs ()
 
virtual PdfArray  GetNames ()
 
- Public Member Functions inherited from iText.Kernel.Pdf.Colorspace.PdfSpecialCs
override void  Flush ()
  To manually flush a PdfObject behind this wrapper, you have to ensure that this object is added to the document, i.e. it has an indirect reference. More...
 
- Public Member Functions inherited from iText.Kernel.Pdf.Colorspace.PdfColorSpace
virtual PdfName  GetColorspaceName ()
  Returns the iText.Kernel.Pdf.PdfName of the colorspace More...
 
virtual PdfName  GetName ()
  Returns the iText.Kernel.Pdf.PdfName of the colorspace or in case separation color spaces the separation color name. More...
 
- Public Member Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfObject >
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 bool  IsFlushed ()
 

Static Package Functions

static PdfArray  GetDeviceNCsArray (PdfArray names, PdfObject alternateSpace, PdfObject tintTransform)
 
- Static Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfObject >
static void  MarkObjectAsIndirect (PdfObject pdfObject)
 
static void  EnsureObjectIsAddedToDocument (PdfObject @object)
  Some wrappers use object's indirect reference to obtain the PdfDocument to which the object belongs to. More...
 

Package Attributes

int  numOfComponents = 0
 

Additional Inherited Members

- Static Public Member Functions inherited from iText.Kernel.Pdf.Colorspace.PdfColorSpace
static iText.Kernel.Pdf.Colorspace.PdfColorSpace  MakeColorSpace (PdfObject pdfObject)
 
- Static Public Attributes inherited from iText.Kernel.Pdf.Colorspace.PdfColorSpace
static readonly ICollection< PdfName >  DIRECT_COLOR_SPACES
 
- Package Functions inherited from iText.Kernel.Pdf.Colorspace.PdfSpecialCs
  PdfSpecialCs (PdfArray pdfObject)
 
override bool  IsWrappedObjectMustBeIndirect ()
  Defines if the object behind this wrapper must be an indirect object in the resultant document. More...
 
- Package Functions inherited from iText.Kernel.Pdf.Colorspace.PdfColorSpace
  PdfColorSpace (PdfObject pdfObject)
 
- Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfObject >
  PdfObjectWrapper (T pdfObject)
 
virtual void  SetPdfObject (T pdfObject)
 
virtual void  SetForbidRelease ()
 
virtual void  UnsetForbidRelease ()
 
virtual void  EnsureUnderlyingObjectHasIndirectReference ()
 

Constructor & Destructor Documentation

◆ DeviceN()

iText.Kernel.Pdf.Colorspace.PdfSpecialCs.DeviceN.DeviceN ( IList< String >  names,
PdfColorSpace  alternateSpace,
IPdfFunction  tintTransform 
)
inline

Creates a new DiviceN colorspace.

Parameters
names the names of the components
alternateSpace the alternate colorspace
tintTransform the function to transform colors to the alternate colorspace