Add Barcode To PDF
The feature lets you create the most common standard barcode types.
Parameters
- File NameString, Required
Map the file name from the source action
- DocumentBuffer, Required
The PDF file for adding a barcode.
- Barcode TypeEnum, Required
Select a preferred type of barcode.
- QR Code
- Data Matrix
- Code128
- Aztec
- HanXin
- PDF417
- Barcode TextString, Required
You can take any value but it must be string.
- Barcode Height in mmString, Required
Must be lower than equal to 1000.
- Barcode Width in mmString, Required
Must be lower than or equal to 1000.
- PagesString, Required
- Specify page indices as comma-separated values or ranges to process (e.g. “0, 1, 2-” or “1, 2, 3-7”).
- If not specified, the default configuration processes all pages. The input must be in string format.
- Horizontal Margin in MMString, Required
You can take any value but it must be string.
- Vertical Margin in MMString, Required
You can take any value but it must be string.
- Vertical AlignmentEnum, Required
Vertical alignment of text stamp. The allowed values are
- Top - top edge of the page
- Middle - equal distance from top and bottom edge of the page
- Bottom - bottom edge of the page
- Horizontal AlignmentEnum
Horizontal alignment of text stamp. The allowed values are
- Left - left edge of the page
- Center - equal distance from left and right edge of the page
- Right - right edge of the page
- TransparencyString
0 for max transparency and 1 for max opacity
- Hide Textboolean
You can select any one option
- Yes
- No
- Empty
Output
- NameString
The name of the output file.
- Doc DataBuffer
The output PDF file.
- Hide TextString
Hides text below barcode. Applicable only for Code 128.
