Click or drag to resize

PdfEncodingExtensionsGetString Method

Decodes a sequence of bytes from the specified byte array into a string.

Namespace: SautinSoft.Pdf.Text
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.11.10
Syntax
public static string GetString(
	this IPdfEncoding encoding,
	byte[] bytes
)

Parameters

encoding  IPdfEncoding
The encoding.
bytes  Byte
The byte array containing the sequence of bytes to decode.

Return Value

String
A string that contains the results of decoding the specified sequence of bytes.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IPdfEncoding. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also