Click or drag to resize

PdfEncodingExtensionsGetString Method

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

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


Type: GemBox.Pdf.TextIPdfEncoding
The encoding.
Type: SystemByte
The byte array containing the sequence of bytes to decode.

Return Value

Type: 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).
ArgumentNullExceptionencoding or bytes is .
See Also