当前位置: 代码迷 >> 综合 >> itext 条形码下方 不显示文字(Barcode128)
  详细解决方案

itext 条形码下方 不显示文字(Barcode128)

热度:16   发布时间:2024-01-06 06:41:13.0

//生成条形码

Barcode128 code = new Barcode128();
//设置font为null即可
//不要显示文字或者数字
code.setFont(null);