PdfCharacterCode.Length Property

Gets the length of this character code in bytes.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public int Length { get; }
VB
Public ReadOnly Property Length As Integer
	Get

Property Value

Type: Int32
The length of this this character code in bytes.

Remarks

Each character code in a string object consists of one or more bytes. Depending on the font, the same character code can have different lengths.

For example, a string with the space character ' ' can be represented as ( ) or <0020>. In the first case, the corresponding character code occupies one byte. And in the second case, it takes two bytes to represent the character code.

See Also