• Getting Started
  • Components
    • Barcodes
    • Buttons
    • Chartsupdated
    • Conversational UIupdated
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layout
    • ListBox
    • ListView
    • Map
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PDFViewer
    • PivotGridupdated
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

BarcodeOptions

The Barcode configuration options.

NameTypeDefaultDescription

background?

string

"white"

The background color of the Barcode. Accepts a valid CSS color string, including hex and rgb.

border?

Border

The border of the Barcode.

checksum?

boolean

true

If set to true, the Barcode will display the checksum digit next to the value in the text area.

color?

string

"black"

The color of the Barcode. Accepts a valid CSS color string, including hex and rgb.

height?

number

100

The height of the Barcode in pixels.

padding?

number | Padding

0

The padding of the Barcode. A numeric value sets all paddings.

renderAs?

RenderMode

"svg"

Sets the preferred rendering mode of the Barcode.

The supported values are:

  • "canvas"—Renders the component as a Canvas element.
  • "svg"—Renders the component as an inline SVG document.

text?

BarcodeText

The Barcode text label configuration.

type

BarcodeType

"Code39"

The symbology (encoding) the Barcode will use.

value

string | number

The value of the Barcode.

width?

number

300

The width of the Barcode in pixels.