枚举 | |
---|---|
BARCODE_TYPE_UNSPECIFIED |
|
AZTEC |
不支持旋转条形码。 |
aztec |
|
CODE_39 |
不支持旋转条形码。 |
code39 |
|
CODE_128 |
不支持旋转条形码。 |
code128 |
|
CODABAR |
不支持旋转条形码。 |
codabar |
|
DATA_MATRIX |
由黑白组成的二维矩阵条形码。单元或模块以正方形或矩形排列。不支持旋转条形码。 |
dataMatrix |
|
EAN_8 |
不支持旋转条形码。 |
ean8 |
|
EAN_13 |
不支持旋转条形码。 |
ean13 |
|
EAN13 |
|
ITF_14 |
14 位 ITF 代码 不支持轮换条形码。 |
itf14 |
|
PDF_417 |
支持轮替条形码。 |
pdf417 |
|
PDF417 |
|
QR_CODE |
支持轮替条形码。 |
qrCode |
|
qrcode |
|
UPC_A |
11 位或 12 位代码不支持轮换条形码。 |
upcA |
|
TEXT_ONLY |
以文本字段的形式呈现字段。alternateText 字段不可与 textOnly 类型的条形码一起使用。不支持旋转条形码。 |
textOnly |
|
BarcodeType
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\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! |"]]