Table of Contents

Class PdfString

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Represents a direct text string value.

public sealed class PdfString : PdfPrimitive
Inheritance
object
PdfString
Inherited Members
Extension Methods

Constructors

PdfString()

Initializes a new instance of the PdfString class.

PdfString(string)

Initializes a new instance of the PdfString class.

PdfString(string, PdfStringEncoding)

Initializes a new instance of the PdfString class.

PdfString(string, PdfStringEncoding, bool)

Initializes a new instance of the PdfString class.

PdfString(string, bool)

Initializes a new instance of the PdfString class.

Properties

Empty

Get an empty PdfString.

Encoding

Gets the encoding.

HexLiteral

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

Length

Gets the number of characters in this string.

Value

Gets the string value.

Methods

ToString()

Returns the string.