Skip to main content
Skip table of contents

PRStream

PRStream Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.PRStream[[PRStream]]
  iTextSharp.text.pdf.PdfStream[[PdfStream]]
  end
iTextSharp.text.pdf.PdfStream --> iTextSharp.text.pdf.PRStream

Members

Properties

Public properties
TypeNameMethods
intLengthget, set
intObjGenget, set
intObjNumget, set
longOffsetget
PdfReaderReaderget

Methods

Public methods
ReturnsName
byte``[]GetBytes()
voidSetData(...)
voidSetDataRaw(byte``[] data)
voidToPdf(PdfWriter writer, Stream os)

Details

Inheritance

Constructors

PRStream [1/5]

Source code

public PRStream(PRStream stream, PdfDictionary newDic)
Arguments
TypeNameDescription
PRStreamstream
PdfDictionarynewDic
PRStream [2/5]

Source code

public PRStream(PRStream stream, PdfDictionary newDic, PdfReader reader)
Arguments
TypeNameDescription
PRStreamstream
PdfDictionarynewDic
PdfReaderreader
PRStream [3/5]

Source code

public PRStream(PdfReader reader, long offset)
Arguments
TypeNameDescription
PdfReaderreader
longoffset
PRStream [4/5]

Source code

public PRStream(PdfReader reader, byte[] conts)
Arguments
TypeNameDescription
PdfReaderreader
byte``[]conts
PRStream [5/5]

Source code

public PRStream(PdfReader reader, byte[] conts, int compressionLevel)
Arguments
TypeNameDescription
PdfReaderreader
byte``[]conts
intcompressionLevel

Methods

SetData [1/3]

Source code

public virtual void SetData(byte[] data, bool compress)
Arguments
TypeNameDescription
byte``[]data
boolcompress
SetData [2/3]

Source code

public virtual void SetData(byte[] data, bool compress, int compressionLevel)
Arguments
TypeNameDescription
byte``[]data
boolcompress
intcompressionLevel
SetDataRaw

Source code

public virtual void SetDataRaw(byte[] data)
Arguments
TypeNameDescription
byte``[]data
SetData [3/3]

Source code

public virtual void SetData(byte[] data)
Arguments
TypeNameDescription
byte``[]data
GetBytes

Source code

public byte GetBytes()
ToPdf

Source code

public override void ToPdf(PdfWriter writer, Stream os)
Arguments
TypeNameDescription
PdfWriterwriter
Streamos

Properties

Length
public int Length { get; set; }
Offset
public virtual long Offset { get; }
Reader
public virtual PdfReader Reader { get; }
ObjNum
public virtual int ObjNum { get; set; }
ObjGen
public virtual int ObjGen { get; set; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.