PdfSharp-GDI  1.31.7289
PdfSharp.Pdf.PdfString Class Reference

Represents a direct text string value. More...

Inheritance diagram for PdfSharp.Pdf.PdfString:
PdfSharp.Pdf.PdfItem

Public Member Functions

 PdfString ()
 Initializes a new instance of the PdfString class. More...
 
 PdfString (string value)
 Initializes a new instance of the PdfString class. More...
 
 PdfString (string value, PdfStringEncoding encoding)
 Initializes a new instance of the PdfString class. More...
 
override string ToString ()
 Returns the string. More...
 
string ToStringFromPdfDocEncoded ()
 Hack for document encoded bookmarks. More...
 
- Public Member Functions inherited from PdfSharp.Pdf.PdfItem
PdfItem Clone ()
 Creates a copy of this object. More...
 

Properties

int? Length [get]
 Gets the number of characters in this string. More...
 
PdfStringEncoding Encoding [get]
 Gets the encoding. More...
 
bool HexLiteral [get]
 Gets a value indicating whether the string is a hexadecimal literal. More...
 
string? Value [get]
 Gets the string value. More...
 

Additional Inherited Members

- Protected Member Functions inherited from PdfSharp.Pdf.PdfItem
virtual object Copy ()
 Implements the copy mechanism. Must be overridden in derived classes. More...
 

Detailed Description

Represents a direct text string value.

Constructor & Destructor Documentation

◆ PdfString() [1/3]

PdfSharp.Pdf.PdfString.PdfString ( )

Initializes a new instance of the PdfString class.

◆ PdfString() [2/3]

PdfSharp.Pdf.PdfString.PdfString ( string  value)

Initializes a new instance of the PdfString class.

Parameters
valueThe value.

◆ PdfString() [3/3]

PdfSharp.Pdf.PdfString.PdfString ( string  value,
PdfStringEncoding  encoding 
)

Initializes a new instance of the PdfString class.

Parameters
valueThe value.
encodingThe encoding.

Member Function Documentation

◆ ToString()

override string PdfSharp.Pdf.PdfString.ToString ( )

Returns the string.

◆ ToStringFromPdfDocEncoded()

string PdfSharp.Pdf.PdfString.ToStringFromPdfDocEncoded ( )

Hack for document encoded bookmarks.

Property Documentation

◆ Encoding

PdfStringEncoding PdfSharp.Pdf.PdfString.Encoding
get

Gets the encoding.

◆ HexLiteral

bool PdfSharp.Pdf.PdfString.HexLiteral
get

Gets a value indicating whether the string is a hexadecimal literal.

◆ Length

int? PdfSharp.Pdf.PdfString.Length
get

Gets the number of characters in this string.

◆ Value

string? PdfSharp.Pdf.PdfString.Value
get

Gets the string value.


The documentation for this class was generated from the following file: