Class PdfString
String object (ISO 32000-2 7.3.4), either literal (...) or hexadecimal <...>.
public sealed record PdfString : PdfObject, IEquatable<PdfObject>, IEquatable<PdfString>
- Inheritance
-
PdfString
- Implements
- Inherited Members
Constructors
PdfString(ReadOnlyMemory<byte>, bool)
String object (ISO 32000-2 7.3.4), either literal (...) or hexadecimal <...>.
public PdfString(ReadOnlyMemory<byte> RawBytes, bool IsHex = false)
Parameters
RawBytesReadOnlyMemory<byte>IsHexbool
Properties
IsHex
public bool IsHex { get; init; }
Property Value
RawBytes
public ReadOnlyMemory<byte> RawBytes { get; init; }
Property Value
Methods
AsAscii()
public string AsAscii()
Returns
AsDecodedString()
public string AsDecodedString()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
TryGetString(out string)
public override bool TryGetString(out string value)
Parameters
valuestring