365 business development logo

Encode Method

Encodes the barcode value using barcode format and dimensions (height & weight).

Syntax

	Encode(var tempBlobBuffer: Codeunit "Temp Blob"; barcodeValue: Text; barcodeFormat: enum "bdev.Barcode Format"; height: Decimal; width: Decimal)

Parameters

tempBlobBuffer

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

barcodeValue

Type: Text
Barcode Value to encode.

barcodeFormat

Type: enum “bdev.Barcode Format”
Barcode Format to use for encoding.

height

Type: Decimal
Height for the encoded barcode.

width

Type: Decimal
Width for the encoded barcode.

Return Value

None

See Also

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