Enum | |
---|---|
BARCODE_TYPE_UNSPECIFIED |
|
AZTEC |
Không hỗ trợ cho tính năng Xoay mã vạch. |
aztec |
Bí danh cũ của |
CODE_39 |
Không hỗ trợ cho tính năng Xoay mã vạch. |
code39 |
Bí danh cũ của |
CODE_128 |
Không hỗ trợ cho tính năng Xoay mã vạch. |
code128 |
Bí danh cũ của |
CODABAR |
Không hỗ trợ cho tính năng Xoay mã vạch. |
codabar |
Bí danh cũ của |
DATA_MATRIX |
Mã vạch ma trận 2D có màu đen và màu trắng. Các ô hoặc mô-đun được sắp xếp theo hình vuông hoặc hình chữ nhật. Không hỗ trợ cho tính năng Xoay mã vạch. |
dataMatrix |
Bí danh cũ của |
EAN_8 |
Không hỗ trợ cho tính năng Xoay mã vạch. |
ean8 |
Bí danh cũ của |
EAN_13 |
Không hỗ trợ cho tính năng Xoay mã vạch. |
ean13 |
Bí danh cũ của |
EAN13 |
Bí danh cũ của |
ITF_14 |
Mã ITF 14 chữ số Không được hỗ trợ cho mã vạch xoay. |
itf14 |
Bí danh cũ của |
PDF_417 |
Hỗ trợ xoay mã vạch. |
pdf417 |
Bí danh cũ của |
PDF417 |
Bí danh cũ của |
QR_CODE |
Hỗ trợ xoay mã vạch. |
qrCode |
Bí danh cũ của |
qrcode |
Bí danh cũ của |
UPC_A |
Mã gồm 11 hoặc 12 chữ số Không hỗ trợ cho mã vạch xoay. |
upcA |
Bí danh cũ của |
TEXT_ONLY |
Hiển thị trường dưới dạng trường văn bản. Không thể sử dụng trường alternateText với mã vạch thuộc loại textOnly . Không hỗ trợ cho tính năng Xoay mã vạch. |
textOnly |
Bí danh cũ của |
BarcodeType
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eThe table lists various barcode types and their support for rotation.\u003c/p\u003e\n"],["\u003cp\u003eMost barcode types are not supported for Rotating Barcodes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePDF_417\u003c/code\u003e and \u003ccode\u003eQR_CODE\u003c/code\u003e are the only barcode types explicitly mentioned as supported for Rotating Barcodes.\u003c/p\u003e\n"],["\u003cp\u003eMany barcode types have legacy aliases which are deprecated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTEXT_ONLY\u003c/code\u003e type renders the field as text and cannot be used with \u003ccode\u003ealternateText\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document outlines barcode types, their support for rotating barcodes, and legacy aliases. `AZTEC`, `CODE_39`, `CODE_128`, `CODABAR`, `DATA_MATRIX`, `EAN_8`, `EAN_13`, `ITF_14`, `UPC_A` and `TEXT_ONLY` are not supported for rotating barcodes. `PDF_417` and `QR_CODE` are the only types supported for rotating barcodes. Numerous legacy aliases, indicated by lowercase or modified casing, are deprecated. `BARCODE_TYPE_UNSPECIFIED` is listed without further information.\n"],null,["# BarcodeType\n\n| Enums ||\n|----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `BARCODE_TYPE_UNSPECIFIED` | |\n| `AZTEC` | Not supported for Rotating Barcodes. |\n| `aztec` | Legacy alias for `AZTEC`. Deprecated. Not supported for Rotating Barcodes. | This item is deprecated! |\n| `CODE_39` | Not supported for Rotating Barcodes. |\n| `code39` | Legacy alias for `CODE_39`. Deprecated. Not supported for Rotating Barcodes. | This item is deprecated! |\n| `CODE_128` | Not supported for Rotating Barcodes. |\n| `code128` | Legacy alias for `CODE_128`. Deprecated. Not supported for Rotating Barcodes. | This item is deprecated! |\n| `CODABAR` | Not supported for Rotating Barcodes. |\n| `codabar` | Legacy alias for `CODABAR`. Deprecated. Not supported for Rotating Barcodes. | This item is deprecated! |\n| `DATA_MATRIX` | A 2D matrix barcode consisting of black and white. Cells or modules are arranged in either a square or rectangle. Not supported for Rotating Barcodes. |\n| `dataMatrix` | Legacy alias for `DATA_MATRIX`. Deprecated. Not supported for Rotating Barcodes. | This item is deprecated! |\n| `EAN_8` | Not supported for Rotating Barcodes. |\n| `ean8` | Legacy alias for `EAN_8`. Deprecated. Not supported for Rotating Barcodes. | This item is deprecated! |\n| `EAN_13` | Not supported for Rotating Barcodes. |\n| `ean13` | Legacy alias for `EAN_13`. Deprecated. Not supported for Rotating Barcodes. | This item is deprecated! |\n| `EAN13` | Legacy alias for `EAN_13`. Deprecated. Not supported for Rotating Barcodes. | This item is deprecated! |\n| `ITF_14` | 14 digit ITF code Not supported for Rotating Barcodes. |\n| `itf14` | Legacy alias for `ITF_14`. Deprecated. Not supported for Rotating Barcodes. | This item is deprecated! |\n| `PDF_417` | Supported for Rotating Barcodes. |\n| `pdf417` | Legacy alias for `PDF_417`. Deprecated. | This item is deprecated! |\n| `PDF417` | Legacy alias for `PDF_417`. Deprecated. | This item is deprecated! |\n| `QR_CODE` | Supported for Rotating Barcodes. |\n| `qrCode` | Legacy alias for `QR_CODE`. Deprecated. | This item is deprecated! |\n| `qrcode` | Legacy alias for `QR_CODE`. Deprecated. | This item is deprecated! |\n| `UPC_A` | 11 or 12 digit codes Not supported for Rotating Barcodes. |\n| `upcA` | Legacy alias for `UPC_A`. Deprecated. Not supported for Rotating Barcodes. | This item is deprecated! |\n| `TEXT_ONLY` | Renders the field as a text field. The `alternateText` field may not be used with a barcode of type `textOnly`. Not supported for Rotating Barcodes. |\n| `textOnly` | Legacy alias for `TEXT_ONLY`. Deprecated. Not supported for Rotating Barcodes. | This item is deprecated! |"]]