42.2. Barcode 选项
Barcode dataformat 支持 5 个选项,如下所列。
名称 | 默认值 | Java 类型 | 描述 |
---|---|---|---|
width |
| barcode 的宽度 | |
height |
| barcode 高度 | |
imageType |
| barcode 的镜像类型,如 png | |
barcodeFormat |
| Barcode 格式,如 QR-Code | |
contentTypeHeader |
|
| 如果数据格式能够这样做,则数据格式是否应该使用 data 格式的类型设置 Content-Type 标头。例如,用于数据格式到 XML 的 application/xml 或用于数据格式的 application/json 发送到 JSon 等。 |