SingleByteEncoder.Encode

Overloads

Encode(Char)Encodes a single character.
Encode(FontSubsetter, Char[], Int32, Int32, Boolean)Encodes the specified text.

Encode(Char)

Encodes a single character.

public byte Encode(char character)
Function Encode(character As Char) As Byte

Parameters

character
Char

Character to encode.

Returns

Byte

The encoded character.

Licensing Info

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Encode(FontSubsetter, Char[], Int32, Int32, Boolean)

Encodes the specified text.

public Byte[] Encode(FontSubsetter subsetter, Char[] text, int start, int length, bool rightToLeft)
Function Encode(subsetter As FontSubsetter, text As Char[], start As Integer, length As Integer, rightToLeft As Boolean) As Byte()

Parameters

subsetter
FontSubsetter

FontSubsetter to use while encoding the text.

text
Char[]

Text array to use for the encoding.

start
Int32

Start index in the text array.

length
Int32

Length of text to encode.

rightToLeft
Boolean

Specifies if the text should be encoded right to left.

Returns

Byte[]

The encoded text as a byte array.

Licensing Info

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also

SingleByteEncoder
ceTe.DynamicPDF.Text

In this topic