# Barcode Object

> The Barcode object provides methods to specify the type and format of barcodes.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > Barcode Object
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/barcode/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/barcode/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/barcode/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/#syntax)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/#examples)
- [Members](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/#members)

---

## In This Section

- [Javascript: Barcode.getAdditionalText Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/getadditionaltext-method/llms.txt): Gets an additional text that is displayed below or above the barcode image.
- [Javascript: Barcode.getAlignment Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/getalignment-method/llms.txt): Gets the alignment of the barcode image inside the control.
- [Javascript: Barcode.getAngle Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/getangle-method/llms.txt): Gets the angle of the barcode image inside the control.
- [Javascript: Barcode.getBackColor Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/getbackcolor-method/llms.txt): Gets the background color of the barcode control.
- [Javascript: Barcode.getBarcodeType Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/getbarcodetype-method/llms.txt): Gets the type of barcode that is rendered.
- [Javascript: Barcode.getForeColor Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/getforecolor-method/llms.txt): Gets the foreground color of the barcode control.
- [Javascript: Barcode.getShowText Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/getshowtext-method/llms.txt): Gets a value indicating whether the encrypted barcode text value is displayed below or above the barcode image or not.
- [Javascript: Barcode.getText Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/gettext-method/llms.txt): Gets the text encrypted by the barcode.
- [Javascript: Barcode.getTextAlignment Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/gettextalignment-method/llms.txt): Gets a value indicating whether the barcode text and additional text is displayed below or above the barcode image.
- [Javascript: Barcode.getUpperTextLength Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/getuppertextlength-method/llms.txt): Gets the maximum text length.
- [Javascript: Barcode.saveImage Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/saveimage-method/llms.txt): Saves the barcode image.
- [Javascript: Barcode.setAdditionalText Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/setadditionaltext-method/llms.txt): Sets an additional text that is displayed below or above the barcode image.
- [Javascript: Barcode.setAlignment Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/setalignment-method/llms.txt): Sets the alignment of the barcode image inside the control.
- [Javascript: Barcode.setAngle Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/setangle-method/llms.txt): Sets the angle of the barcode image inside the control.
- [Javascript: Barcode.setBackColor Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/setbackcolor-method/llms.txt): Sets the background color for the barcode control.
- [Javascript: Barcode.setBarcodeType Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/setbarcodetype-method/llms.txt): Sets the type of barcode that is rendered.
- [Javascript: Barcode.setForeColor Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/setforecolor-method/llms.txt): Sets the foreground color for the barcode control.
- [Javascript: Barcode.setShowText Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/setshowtext-method/llms.txt): Sets a value indicating whether the encrypted barcode text value is displayed below or above the barcode image or not.
- [Javascript: Barcode.setText Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/settext-method/llms.txt): Sets the text the barcode should encrypt.
- [Javascript: Barcode.setTextAlignment Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/settextalignment-method/llms.txt): Sets a value indicating whether the barcode text and additional text is displayed below or above the barcode image.
- [Javascript: Barcode.setUpperTextLength Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/setuppertextlength-method/llms.txt): Sets the maximum text length.

---

## Nearby

- **Previous:** [Javascript: ApplicationFieldCollection.remove Method](https://docs.textcontrol.com/ds-server/reference/javascript/applicationfieldcollection/remove-method/llms.txt)
- **Next:** [Javascript: Barcode.getAdditionalText Method](https://docs.textcontrol.com/ds-server/reference/javascript/barcode/getadditionaltext-method/llms.txt)
