Skip to main content
Skip table of contents

PdfString

PdfString Public class

Diagram

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

Members

Properties

Public properties
TypeNameMethods
stringEncodingget

Methods

Public methods
ReturnsName
byte``[]GetBytes()
byte``[]GetOriginalBytes()
boolIsHexWriting()
PdfStringSetHexWriting(bool hexWriting)
voidToPdf(PdfWriter writer, Stream os)
stringToString()
stringToUnicodeString()
Internal methods
ReturnsName
voidDecrypt(PdfReader reader)
voidSetObjNum(int objNum, int objGen)

Details

Inheritance

Constructors

PdfString [1/4]

Source code

public PdfString()
PdfString [2/4]

Source code

public PdfString(string value)
Arguments
TypeNameDescription
stringvalue
PdfString [3/4]

Source code

public PdfString(string value, string encoding)
Arguments
TypeNameDescription
stringvalue
stringencoding
PdfString [4/4]

Source code

public PdfString(byte[] bytes)
Arguments
TypeNameDescription
byte``[]bytes

Methods

ToPdf

Source code

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

Source code

public override string ToString()
ToUnicodeString

Source code

public virtual string ToUnicodeString()
SetObjNum

Source code

internal void SetObjNum(int objNum, int objGen)
Arguments
TypeNameDescription
intobjNum
intobjGen
Decrypt

Source code

internal void Decrypt(PdfReader reader)
Arguments
TypeNameDescription
PdfReaderreader
GetBytes

Source code

public override byte GetBytes()
GetOriginalBytes

Source code

public virtual byte GetOriginalBytes()
SetHexWriting

Source code

public virtual PdfString SetHexWriting(bool hexWriting)
Arguments
TypeNameDescription
boolhexWriting
IsHexWriting

Source code

public virtual bool IsHexWriting()

Properties

Encoding
public virtual string Encoding { get; }

Generated with ModularDoc

JavaScript errors detected

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

If this problem persists, please contact our support.