• Barcodes
    • Buttons
    • Charts
    • Conversational UIupdated
    • Data Query
    • Date Inputs
    • Date Math
    • Dialogsupdated
    • Drawing
    • Dropdowns
    • Editorupdated
    • Excel Export
    • File Saver
    • Filterupdated
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputs
    • Labels
    • Layoutupdated
    • ListBoxnew
    • ListView
    • Mapbeta
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PivotGridbeta
    • Popup
    • ProgressBarsupdated
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • ToolBar
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Typography
    • Uploads
    Styling & Themes
    Common Features
    Project Setup
New to Kendo UI for Angular? Start a free 30-day trial

Rendering Modes

The Barcodes support two modes for renderingCanvas (bitmap) and SVG (vector graphics).

By default, the Barcodes uses SVG rendering. You can select a rendering mode by setting the BarcodeComponent.renderAs and QRCodeComponent.renderAs attributes.

View Source
Change Theme:

When to Use SVG

The default SVG rendering mode is recommended for general use.

Using vector graphics ensures that:

  • The browser zoom does not degrade the image.
  • The prints are crisp regardless of the resolution.

When to Use Canvas

When performance is critical, for example, when rendering large pages, it is recommended to use the Canvas rendering mode.

The browser does not have to maintain a live DOM tree for the Chart, which results in:

  • Quicker screen updates.
  • Lower memory usage.

On the downside, rendering to a fixed resolution bitmap results in:

  • Blurry images on zoom.
  • Poor print quality.

In this article

Not finding the help you need?