Edit

Share via


Pcd8544.CreateCustomCharacter Method

Definition

Overloads

CreateCustomCharacter(Int32, Byte[])

Add a specific character to the font. It will replace existing embedded font character if it does already exist.

CreateCustomCharacter(Int32, ReadOnlySpan<Byte>)

Add a specific character to the font. It will replace existing embedded font character if it does already exist.

CreateCustomCharacter(Int32, Byte[])

Add a specific character to the font. It will replace existing embedded font character if it does already exist.

public void CreateCustomCharacter (int location, byte[] characterMap);
abstract member CreateCustomCharacter : int * byte[] -> unit
override this.CreateCustomCharacter : int * byte[] -> unit
Public Sub CreateCustomCharacter (location As Integer, characterMap As Byte())

Parameters

location
Int32

Should be between 0 and NumberOfCustomCharactersSupported.

characterMap
Byte[]

Provide an array of 8 bytes containing the pattern

Implements

Remarks

Normal font character is a 5 bytes array aligned vertically. If the array is 8 bytes long, it will assume the font encoding is then on the lower 5 bits of each bytes.

Applies to

CreateCustomCharacter(Int32, ReadOnlySpan<Byte>)

Add a specific character to the font. It will replace existing embedded font character if it does already exist.

public void CreateCustomCharacter (int location, ReadOnlySpan<byte> characterMap);
abstract member CreateCustomCharacter : int * ReadOnlySpan<byte> -> unit
override this.CreateCustomCharacter : int * ReadOnlySpan<byte> -> unit
Public Sub CreateCustomCharacter (location As Integer, characterMap As ReadOnlySpan(Of Byte))

Parameters

location
Int32

Should be between 0 and NumberOfCustomCharactersSupported.

characterMap
ReadOnlySpan<Byte>

Provide an array of 8 bytes containing the pattern

Implements

Remarks

Normal font character is a 5 bytes array aligned vertically. If the array is 8 bytes long, it will assume the font encoding is then on the lower 5 bits of each bytes.

Applies to