Class PdfString
Represents a direct text string value.
public sealed class PdfString : PdfItem, ICloneable
- Inheritance
-
PdfString
- Implements
- Inherited Members
Constructors
PdfString()
Initializes a new instance of the PdfString class.
public PdfString()
PdfString(string)
Initializes a new instance of the PdfString class.
public PdfString(string value)
Parameters
value
stringThe value.
PdfString(string, PdfStringEncoding)
Initializes a new instance of the PdfString class.
public PdfString(string value, PdfStringEncoding encoding)
Parameters
value
stringThe value.
encoding
PdfStringEncodingThe encoding.
Properties
Encoding
Gets the encoding.
public PdfStringEncoding Encoding { get; }
Property Value
HexLiteral
Gets a value indicating whether the string is a hexadecimal literal.
public bool HexLiteral { get; }
Property Value
Length
Gets the number of characters in this string.
public int Length { get; }
Property Value
Value
Gets the string value.
public string Value { get; }
Property Value
Methods
ToString()
Returns the string.
public override string ToString()
Returns
ToStringFromPdfDocEncoded()
Hack for document encoded bookmarks.
public string ToStringFromPdfDocEncoded()