Click or drag to resize

PdfEncodingGetByteCount Method

Calculates the number of bytes produced by encoding the characters in the specified string.

Namespace:  GemBox.Pdf.Text
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public virtual int GetByteCount(
	string s
)

Parameters

s
Type: SystemString
The string containing the set of characters to encode.

Return Value

Type: Int32
The number of bytes produced by encoding the specified characters.

Implements

IPdfEncodingGetByteCount(String)
Exceptions
ExceptionCondition
ArgumentNullExceptions is .
See Also