iText 7 7.1.9 API
iText.Kernel.Pdf.PdfOutputStream Class Reference
Inheritance diagram for iText.Kernel.Pdf.PdfOutputStream:
iText.IO.Source.OutputStream< iText.Kernel.Pdf.PdfOutputStream > iText.Kernel.Pdf.PdfWriter

Public Member Functions

  PdfOutputStream (Stream outputStream)
  Create a pdfOutputSteam writing to the passed OutputStream. More...
 
virtual iText.Kernel.Pdf.PdfOutputStream  Write (PdfObject pdfObject)
  Write a PdfObject to the outputstream. More...
 
- Public Member Functions inherited from iText.IO.Source.OutputStream< iText.Kernel.Pdf.PdfOutputStream >
  OutputStream (Stream outputStream)
 
virtual void  Write (int b)
 
virtual void  Write (byte[] b)
 
override void  Write (byte[] b, int off, int len)
 
override long  Seek (long offset, SeekOrigin origin)
 
override void  SetLength (long value)
 
override int  Read (byte[] buffer, int offset, int count)
 
override void  WriteByte (byte value)
 
virtual T  WriteByte (int value)
 
override void  Flush ()
 
virtual T  WriteLong (long value)
 
virtual T  WriteInteger (int value)
 
virtual T  WriteFloat (float value)
 
virtual T  WriteFloat (float value, bool highPrecision)
 
virtual T  WriteFloats (float[] value)
 
virtual T  WriteDouble (double value)
 
virtual T  WriteDouble (double value, bool highPrecision)
 
virtual T  WriteSpace ()
 
virtual T  WriteNewLine ()
 
virtual T  WriteString (String value)
 
virtual T  WriteBytes (byte[] b)
 
virtual T  WriteBytes (byte[] b, int off, int len)
 
virtual long  GetCurrentPos ()
 
virtual Stream  GetOutputStream ()
 
virtual bool  IsCloseStream ()
 
virtual void  SetCloseStream (bool closeStream)
 
virtual void  AssignBytes (byte[] bytes, int count)
 
virtual void  Reset ()
 

Additional Inherited Members

- Static Public Member Functions inherited from iText.IO.Source.OutputStream< iText.Kernel.Pdf.PdfOutputStream >
static bool  GetHighPrecision ()
 
static void  SetHighPrecision (bool value)
 
- Protected Member Functions inherited from iText.IO.Source.OutputStream< iText.Kernel.Pdf.PdfOutputStream >
override void  Dispose (bool disposing)
 
- Properties inherited from iText.IO.Source.OutputStream< iText.Kernel.Pdf.PdfOutputStream >
override bool  CanRead [get]
 
override bool  CanSeek [get]
 
override bool  CanWrite [get]
 
override long  Length [get]
 
override long  Position [get, set]
 

Constructor & Destructor Documentation

◆ PdfOutputStream()

iText.Kernel.Pdf.PdfOutputStream.PdfOutputStream ( Stream  outputStream )
inline

Create a pdfOutputSteam writing to the passed OutputStream.

Parameters
outputStream Outputstream to write to.

Member Function Documentation

◆ Write()

virtual iText.Kernel.Pdf.PdfOutputStream iText.Kernel.Pdf.PdfOutputStream.Write ( PdfObject  pdfObject )
inlinevirtual

Write a PdfObject to the outputstream.

Parameters
pdfObject PdfObject to write
Returns
this PdfOutPutStream