[]
IBarcodePDF417 is a popular high-density, two-dimensional barcode symbology that can encode up to 1108 bytes of information. This barcode comprises a stacked set of small barcodes and can encode up to 35 alphanumeric characters and 2,710 numeric characters.
This interface exposes the PDF417-specific barcode settings and generated properties, such as the error correction level, row count, column count, and whether the barcode uses the compact PDF417 format.
worksheet.getRange("A1").setValue("1234567890");
worksheet.getRange("B1").setFormula("=BC_PDF417(A1,\"rgb(0, 0, 0)\",\"rgb(255, 255, 255)\",\"auto\",4,6,TRUE,2,2,2,2)");
IPDF417 pdf417 = (IPDF417) worksheet.getRange("B1").getValue();
int rows = pdf417.getRows();
intbooleanintintgetRows()getBackgroundColor, getCodeType, getColor, getQuietZoneBottom, getQuietZoneLeft, getQuietZoneRight, getQuietZoneTop, getValueThis value corresponds to the error correction level specified for the PDF417 barcode.
worksheet.getRange("A1").setValue("1234567890");
worksheet.getRange("B1").setFormula("=BC_PDF417(A1, , , 4)");
IPDF417 pdf417 = (IPDF417) worksheet.getRange("B1").getValue();
int errorCorrectionLevel = pdf417.getErrorCorrectionLevel();
Returns the number of rows in the PDF417 barcode generated from the cell value or formula result.
worksheet.getRange("A1").setValue("1234567890");
worksheet.getRange("B1").setFormula("=BC_PDF417(A1,\"rgb(0, 0, 0)\",\"rgb(255, 255, 255)\",\"auto\",4,\"auto\",FALSE,2,2,2,2)");
IPDF417 pdf417 = (IPDF417) worksheet.getRange("B1").getValue();
int rows = pdf417.getRows();
-1 if the row count is configured automatically.Use this method to retrieve the column count of a PDF417 barcode.
worksheet.getRange("A1").setValue("1234567890");
worksheet.getRange("B1").setFormula("=BC_PDF417(A1,\"rgb(0, 0, 0)\",\"rgb(255, 255, 255)\",\"auto\",\"auto\",6,FALSE,2,2,2,2)");
IPDF417 pdf417 = (IPDF417) worksheet.getRange("B1").getValue();
int columns = pdf417.getColumns();
-1 if the column count is configured automatically.The default value is false.
worksheet.getRange("A1").setValue("1234567890");
worksheet.getRange("B1").setFormula("=BC_PDF417(A1,\"rgb(0, 0, 0)\",\"rgb(255, 255, 255)\",\"auto\",\"auto\",\"auto\",TRUE,2,2,2,2)");
IPDF417 pdf417 = (IPDF417) worksheet.getRange("B1").getValue();
boolean compact = pdf417.getCompact();
true if the barcode uses the compact PDF417 format; otherwise, false.