iText 5

PdfObject

PdfObject Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.PdfObject[[PdfObject]] class iTextSharp.text.pdf.PdfObject abstractStyle; end subgraph System System.IComparable_1[[IComparable]] end System.IComparable_1 --> iTextSharp.text.pdf.PdfObject

Members

Properties

Public properties

Type

Name

Methods

PRIndirectReference

IndRef

get, set

int

Length

get

int

Type

get

Protected properties

Type

Name

Methods

string

Content

set

Methods

Public methods

Returns

Name

bool

CanBeInObjStm

()

int

CompareTo

(

PdfObject

obj)

bool

Equals

(object obj)

byte``[]

GetBytes

()

int

GetHashCode

()

bool

IsArray

()

bool

IsBoolean

()

bool

IsDictionary

()

bool

IsIndirect

()

bool

IsName

()

bool

IsNull

()

bool

IsNumber

()

bool

IsStream

()

bool

IsString

()

void

ToPdf

(

PdfWriter

writer, Stream os)

string

ToString

()

Details

Inheritance

Constructors

PdfObject [1/3]

Source code

protected PdfObject(int type)

Arguments

Type

Name

Description

int

type

PdfObject [2/3]

Source code

protected PdfObject(int type, string content)

Arguments

Type

Name

Description

int

type

string

content

PdfObject [3/3]

Source code

protected PdfObject(int type, byte[] bytes)

Arguments

Type

Name

Description

int

type

byte``[]

bytes

Methods

ToPdf

Source code

public virtual void ToPdf(PdfWriter writer, Stream os)

Arguments

Type

Name

Description

PdfWriter

writer

Stream

os

GetBytes

Source code

public virtual byte GetBytes()

CanBeInObjStm

Source code

public virtual bool CanBeInObjStm()

ToString

Source code

public override string ToString()

IsNull

Source code

public virtual bool IsNull()

IsBoolean

Source code

public virtual bool IsBoolean()

IsNumber

Source code

public virtual bool IsNumber()

IsString

Source code

public virtual bool IsString()

IsName

Source code

public virtual bool IsName()

IsArray

Source code

public virtual bool IsArray()

IsDictionary

Source code

public virtual bool IsDictionary()

IsStream

Source code

public virtual bool IsStream()

IsIndirect

Source code

public virtual bool IsIndirect()

CompareTo

Source code

public virtual int CompareTo(PdfObject obj)

Arguments

Type

Name

Description

PdfObject

obj

GetHashCode

Source code

public override int GetHashCode()

Equals

Source code

public override bool Equals(object obj)

Arguments

Type

Name

Description

object

obj

Properties

Length

public virtual int Length { get; }

Content

protected virtual string Content { set; }

Type

public virtual int Type { get; }

IndRef

public virtual PRIndirectReference IndRef { get; set; }

Generated with ModularDoc