Click or drag to resize

PdfEncodingGetMaxByteCount Method

Calculates the maximum number of bytes produced by encoding the specified number of characters.

Namespace:  GemBox.Pdf.Text
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1002
Syntax
public virtual int GetMaxByteCount(
	int charCount
)

Parameters

charCount
Type: SystemInt32
The number of characters to encode.

Return Value

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

Implements

IPdfEncodingGetMaxByteCount(Int32)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptioncharCount is less than zero.
See Also