iText 5

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

Type

Name

Methods

int

Length

get, set

int

ObjGen

get, set

int

ObjNum

get, set

long

Offset

get

PdfReader

Reader

get

Methods

Public methods

Returns

Name

byte``[]

GetBytes

()

void

SetData

(...)

void

SetDataRaw

(byte``[] data)

void

ToPdf

(

PdfWriter

writer, Stream os)

Details

Inheritance

Constructors

PRStream [1/5]

Source code

public PRStream(PRStream stream, PdfDictionary newDic)

Arguments

Type

Name

Description

PRStream

stream

PdfDictionary

newDic

PRStream [2/5]

Source code

public PRStream(PRStream stream, PdfDictionary newDic, PdfReader reader)

Arguments

Type

Name

Description

PRStream

stream

PdfDictionary

newDic

PdfReader

reader

PRStream [3/5]

Source code

public PRStream(PdfReader reader, long offset)

Arguments

Type

Name

Description

PdfReader

reader

long

offset

PRStream [4/5]

Source code

public PRStream(PdfReader reader, byte[] conts)

Arguments

Type

Name

Description

PdfReader

reader

byte``[]

conts

PRStream [5/5]

Source code

public PRStream(PdfReader reader, byte[] conts, int compressionLevel)

Arguments

Type

Name

Description

PdfReader

reader

byte``[]

conts

int

compressionLevel

Methods

SetData [1/3]

Source code

public virtual void SetData(byte[] data, bool compress)

Arguments

Type

Name

Description

byte``[]

data

bool

compress

SetData [2/3]

Source code

public virtual void SetData(byte[] data, bool compress, int compressionLevel)

Arguments

Type

Name

Description

byte``[]

data

bool

compress

int

compressionLevel

SetDataRaw

Source code

public virtual void SetDataRaw(byte[] data)

Arguments

Type

Name

Description

byte``[]

data

SetData [3/3]

Source code

public virtual void SetData(byte[] data)

Arguments

Type

Name

Description

byte``[]

data

GetBytes

Source code

public byte GetBytes()

ToPdf

Source code

public override void ToPdf(PdfWriter writer, Stream os)

Arguments

Type

Name

Description

PdfWriter

writer

Stream

os

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