Skip to main content
Skip table of contents

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
TypeNameMethods
PRIndirectReferenceIndRefget, set
intLengthget
intTypeget
Protected properties
TypeNameMethods
stringContentset

Methods

Public methods
ReturnsName
boolCanBeInObjStm()
intCompareTo(PdfObject obj)
boolEquals(object obj)
byte``[]GetBytes()
intGetHashCode()
boolIsArray()
boolIsBoolean()
boolIsDictionary()
boolIsIndirect()
boolIsName()
boolIsNull()
boolIsNumber()
boolIsStream()
boolIsString()
voidToPdf(PdfWriter writer, Stream os)
stringToString()

Details

Inheritance

Constructors

PdfObject [1/3]

Source code

protected PdfObject(int type)
Arguments
TypeNameDescription
inttype
PdfObject [2/3]

Source code

protected PdfObject(int type, string content)
Arguments
TypeNameDescription
inttype
stringcontent
PdfObject [3/3]

Source code

protected PdfObject(int type, byte[] bytes)
Arguments
TypeNameDescription
inttype
byte``[]bytes

Methods

ToPdf

Source code

public virtual void ToPdf(PdfWriter writer, Stream os)
Arguments
TypeNameDescription
PdfWriterwriter
Streamos
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
TypeNameDescription
PdfObjectobj
GetHashCode

Source code

public override int GetHashCode()
Equals

Source code

public override bool Equals(object obj)
Arguments
TypeNameDescription
objectobj

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

JavaScript errors detected

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

If this problem persists, please contact our support.