---
title: "HanXinEncodeMode"
url: "https://reference.aspose.com/barcode/nodejs/global/hanxinencodemode/"
product: "Aspose.BarCode for Node.js via Java API Reference"
description: "Han Xin Code encoding mode."
---


## HanXinEncodeMode

Han Xin Code encoding mode. It is recommended to use Auto with ASCII / Chinese characters or Unicode for Unicode characters.

## Values

| Name | Description |
| --- | --- |
| NONE | NO border enclosing the barcode |
| FRAME | FRAME enclosing the barcode |
| BAR | Tow horizontal bars enclosing the barcode |
| FRAME_OUT | FRAME enclosing the barcode |
| BAR_OUT | Tow horizontal bars enclosing the barcode |
