Table of Contents

Class PdfStringObject

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Represents an indirect text string value. This type is not created by PDFsharp. If it is imported from an external PDF file, the value is converted into a direct object.

public sealed class PdfStringObject : PdfPrimitiveObject
Inheritance
object
PdfStringObject
Inherited Members
Extension Methods

Constructors

PdfStringObject()

Initializes a new instance of the PdfStringObject class.

PdfStringObject(PdfDocument, string)

Initializes a new instance of the PdfStringObject class.

PdfStringObject(string)

Initializes a new instance of the PdfStringObject class.

PdfStringObject(string, PdfStringEncoding)

Initializes a new instance of the PdfStringObject class.

Properties

Encoding

Gets or sets 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 or sets the value as string

Methods

ToString()

Returns the string.