[]
        
(Showing Draft Content)

BC_CODE39

This function returns a data set representing a CODE39.

Syntax

BC_CODE39(value, color, backgroundColor, showLabel, labelPosition, labelWithStartAndStopCharacter, checkDigit, nwRatio, fullASCII, fontFamily, fontStyle, fontWeight, fontTextDecoration, fontTextAlign, fontSize, quietZoneLeft, quietZoneRight, quietZoneTop, quietZoneBottom)

Arguments

Argument

Description

value

A string that represents encodes on the symbol of QRCode.

color

A color that represents the barcode color. The default value is 'rgb(0,0,0)'.

backgroundColor

A color that represents the barcode background color. The default value is 'rgb(255, 255, 255)'

showLabel

Specifies whether to show label text when the barcode has a label.

labelPosition

A value that represents the label position when the label is shown.

labelWithStartAndStopCharacter

Specifies whether to show the start and stop character in the label. The default value is 'false'.

checkDigit

Specifies whether the symbol needs a check digit. The default value is 'false'.

nwRatio

A value that represents the wide and narrow bar ratio. It has values of 2

fullASCII

Specifies whether to support full ASCII for Code39. The default value is 'false'.

fontFamily

A string that represents the label text fontFamily. The default value is 'sans-serif'.

fontStyle

A string that represents the label text fontStyle. The default value is 'normal'.

fontWeight

A string that represents the label text fontWeight. The default value is 'normal'.

fontTextDecoration

A string that represents the label text fontTextDecoration. The default value is 'none'.

fontTextAlign

A string that represents the label text fontTextAlign. The default value is 'center'.

fontSize

A string that represents the label text fontSize. The default value is '12px'.

quietZoneLeft

A value that represents the size of left quiet zone.

quietZoneRight

A value that represents the size of right quiet zone.

quietZoneTop

A value that represents the size of top quiet zone.

quietZoneBottom

A value that represents the size of bottom quiet zone.

Data Types

Accepts numeric characters and special characters. Returns barcode sparkline.

Examples

sheet.setFormula(3, 3, '=BC_CODE39(C4)');