I need to generate a PDF417 barcode image as PDF, given a certain value from a textfield.
Assuming you are trying o generate a barcode "image" dynamically...
"Then create a barcode field" - how may I do that? I already tried the following:
var f = newDoc.addField("textBC", "text", 0, bcCoords);
f.cFieldType = "barcode";
var f = newDoc.addField("textBC", "barcode", 0, bcCoords);
The "newDoc" object is the document I want to generate the image.
The first creates a normal text field, while the second shows only a blank, gray, readonly textfield.
I'm on the right track?