Click or drag to resize

PdfEncodingGetString 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: 13.0.35.1000
Syntax
public virtual string GetString(
	byte[] bytes,
	int index,
	int count
)

Parameters

bytes
Type: SystemByte
The byte array containing the sequence of bytes to decode.
index
Type: SystemInt32
The index of the first byte to decode.
count
Type: SystemInt32
The number of bytes to decode.

Return Value

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

Implements

IPdfEncodingGetString(Byte, Int32, Int32)
Exceptions
ExceptionCondition
ArgumentExceptionThe byte array contains invalid Unicode code points.
ArgumentNullExceptionbytes is .
ArgumentOutOfRangeExceptionindex or count is less than zero or index and count do not denote a valid range in bytes.
See Also