[]
IBarcode, IFontOption, ILabelOptionCode 93 使用大写字符、数字字符和选定的特殊字符("%","*","$","/",".","-","+"),并通过 IBarcode、IFontOption 和 ILabelOption 提供条形码、字体和标签选项。
worksheet.getRange("A1").setValue("CODE93+100");
worksheet.getRange("B1").setFormula("=BC_CODE93(A1)");
ICode93 code93 = (ICode93) worksheet.getRange("B1").getValue();
boolean fullASCII = code93.getFullASCII();
booleanbooleangetBackgroundColor, getCodeType, getColor, getQuietZoneBottom, getQuietZoneLeft, getQuietZoneRight, getQuietZoneTop, getValuegetFontFamily, getFontSize, getFontStyle, getFontTextAlign, getFontTextDecoration, getFontWeightgetLabelPosition, getShowLabel指定符号是否需要校验位。默认值为 false。
worksheet.getRange("A1").setValue("CODE93+100");
worksheet.getRange("B1").setFormula("=BC_CODE93(A1)");
ICode93 code93 = (ICode93) worksheet.getRange("B1").getValue();
boolean checkDigit = code93.getCheckDigit();
true;否则为 false。指定是否支持 Code 93 的完整 ASCII。默认值为 false。
worksheet.getRange("A1").setValue("Code93+100");
worksheet.getRange("B1").setFormula("=BC_CODE93(A1,\"rgb(0, 0, 0)\",\"rgb(255, 255, 255)\",1,\"bottom\",FALSE,TRUE,,\"normal\",\"normal\",\"none\",\"center\",12,10,10,0,0)");
ICode93 code93 = (ICode93) worksheet.getRange("B1").getValue();
boolean fullASCII = code93.getFullASCII();
true;否则为 false。