365 business development logo

Encode Method

Encodes the barcode value using the barcode definition.

Syntax

	Encode(var tempBlobBuffer: Codeunit "Temp Blob"; barcodeValue: Text; barcodeDefinition: Record "bdev.Barcode Defintion")

Parameters

tempBlobBuffer

Type: Codeunit “Temp Blob”
Temp Blob codeunit instance to store the encoded barcode.

barcodeValue

Type: Text
Barcode Value to encode.

barcodeDefinition

Type: Record “bdev.Barcode Defintion”
Barcode Format Definition Record to be used for encoding.

Return Value

None

See Also

Encode(Codeunit, Text, enum)
Encode(Codeunit, Text, Code[20])
Encode(Codeunit, Text, enum, Decimal)
Encode(Codeunit, Text, enum, Decimal, Decimal)
Encode(Codeunit, Text, enum, Decimal, Decimal, Decimal)
Encode(Codeunit, Text, enum, Decimal, Decimal, Decimal, Boolean)