string getPdf147Command(string text, bool limit byte p1, byte p2, byte securityLevel, byte xDirection, byte aspectRatio)
This function can be used to return a PDF417 command.
Parameters
Name | Description |
text | Text content of the PDF417. |
limit | Selection of the method to use for specifying the barcode size (value can be either 0 or 1; 0 = Limit method, 1 = Fixed method). See section 3-122 of the STAR Line Mode Command Specifications (Rev 1.12 or later). |
p1 | The vertical proportion to use (value changes with the limit selected). See section 3-122 of the STAR Line Mode Command Specifications (Rev 1.12 or later). |
p2 | The vertical proportion to use (value changes with the limit selected). See section 3-122 of the STAR Line Mode Command Specifications (Rev 1.12 or later). |
securityLevel | Represents how well the barcode can be recovered if it is damaged (value ranges from 0 to 8). |
xDirection | Specifies the X direction size (value ranges from 1 to 10; a value of 2 or less is recommended). |
aspectRatio | Specifies the ratio of the PDF417 barcode (value ranges from 1 to 10; a value of 2 or less is recommended). |
Return
A JSON byte array to use as a command.