列舉 | |
---|---|
BARCODE_TYPE_UNSPECIFIED |
|
AZTEC |
不支援旋轉條碼。 |
aztec |
|
CODE_39 |
不支援旋轉條碼。 |
code39 |
|
CODE_128 |
不支援旋轉條碼。 |
code128 |
|
CODABAR |
不支援旋轉條碼。 |
codabar |
|
DATA_MATRIX |
由黑白組成的 2D 矩陣條碼。儲存格或模組會以正方形或矩形排列。不支援旋轉條碼。 |
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
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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! |"]]