Show TOC

Function documentationPDF Text Locate this document in the navigation structure

 

This action is used to add a section of text 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 text.

Text

Integer

In and out

The text you want to add to the document.

Font Name

String

In and out

The font of the text.

The following fonts are available:

  • Helvetica

  • Courier

  • Times New Roman

Font Style

Integer

In and out

The style of the text.

The following values are available:

  • 0 (normal)

  • 1 (bold)

  • 2 (italic)

  • 3 (bolditalic)

  • 4 (underline)

Font Size

Integer

In and out

The size of the text.

Alignment

Integer

In and out

The position of the text in the document.

The following values are available:

  • 0 (left)

  • 1 (center)

  • 2 (right)

  • 3 (justified)

Text Color

String

In and out

The color of the text.

You can use the following values:

  • Hexadecimal (for example, #F8F8F8)

  • RGB (for example, 255,255,255)

  • HTML (for example, Orange)

Background Color

String

In and out

The color of the background of the text.

You can use the same values as in the Text Color.

Spacing Before

Integer

In and out

The white space, in points, between the text and the section above. (72 points equals one inch.)

Spacing After

Integer

In and out

The white space in points between the text and the following section. (72 points equals one inch.)

Output

XML

In and out

The XML output.

Success

Boolean

Out

Indicates whether the action succeeded or failed.

If it failed, the error information is displayed in the server trace log.