Show TOC

Function documentationPDF Bar Code Locate this document in the navigation structure

 

This action is used to add a bar code to an Adobe® portable document format (PDF) document.

Features

The properties for this action are listed in the following table:

Property

Data Type

Access

Description

Source Document

String

In and out

The PDF document to which you want to add a bar code.

Bar Code Text

String

In and out

The value of the bar code.

Bar Code Type

String

In and out

The type of bar code to add to the PDF document.

The following values are available:

  • BARCODE_CODE39

  • BARCODE_CODE39EXT

  • BARCODE_CODE128

  • BARCODE_EANUCC128

  • BARCODE_EAN8

  • BARCODE_EAN13

  • BARCODE_UPCA

  • BARCODE_UPCE

  • BARCODE_I2OF5

  • BARCODE_POSTNET

  • BARCODE_PLANET

Start Stop Text

Boolean

In and out

Select this checkbox to show the asterisk as both the start and stop characters of the bar code.

Check Sum

Boolean

In and out

Select this checkbox to show the checksum in the text.

Guard Bars

Boolean

In and out

Select this checkbox to show guard bars in the text.

Alignment

Integer

In and out

Defines the position of the bar code in the PDF document.

The following positions are available:

  • 0 (left)

  • 1 (center)

  • 2 (right)

  • 3 (justified)

Bar Code Size

Integer

In and out

The width of the bar code in points. (72 points equals one inch.)

Bar Code Height

Integer

In and out

The height of the bar code in points. (72 points equals one inch.)

Spacing Before

Integer

In and out

The white space, in points, between the bar code and the previous section of the document. (72 points equals one inch.)

Spacing After

Integer

In and out

The white space, in points, between the bar code and the following section of the document. (72 points equals one inch.)

Success

Boolean

In and out

Indicates whether the action succeeded or failed.