Class PdfStringObject
Represents an indirect text string value. This type is not used by PDFsharp. If it is imported from an external PDF file, the value is converted into a direct object.
public sealed class PdfStringObject : PdfObject, ICloneable- Inheritance
- 
      
      
      
      PdfStringObject
- Implements
- Inherited Members
Constructors
PdfStringObject()
Initializes a new instance of the PdfStringObject class.
public PdfStringObject()PdfStringObject(PdfDocument, string)
Initializes a new instance of the PdfStringObject class.
public PdfStringObject(PdfDocument document, string value)Parameters
- documentPdfDocument
- The document. 
- valuestring
- The value. 
PdfStringObject(string, PdfStringEncoding)
Initializes a new instance of the PdfStringObject class.
public PdfStringObject(string value, PdfStringEncoding encoding)Parameters
- valuestring
- The value. 
- encodingPdfStringEncoding
- The encoding. 
Properties
Encoding
Gets or sets the encoding.
public PdfStringEncoding Encoding { get; set; }Property Value
HexLiteral
Gets a value indicating whether the string is a hexadecimal literal.
public bool HexLiteral { get; set; }Property Value
Length
Gets the number of characters in this string.
public int Length { get; }Property Value
Value
Gets or sets the value as string
public string Value { get; set; }Property Value
Methods
ToString()
Returns the string.
public override string ToString()