Insert Rich Text to PDF action allows you to insert configured text to your PDF file as overlayed image at specified position.
Example of Insert Rich Text to PDF action configuration on the current site
For more information about Action Builder read Action Builder introduction article.
To configure the action Insert Rich Text to PDF additional properties should be specified:
Configuration
| Property | Required | Type | Description |
| Library | yes | Choice |
A library where pdf file we want to insert into is located. It is possible to select:
|
| Item Id | yes | Integer | The item Id of the PDF document |
| Text | yes | String | Text to be inserted as overlayed image into PDF file. You can type text directly into this field or use Expressions to dynamically generate this. |
| Target page |
yes | Choice |
Specify the page we want to insert text to:
|
| Page number | no | Integer | Specify the existing page number. By default page number 1 is used |
| Horizontal align | yes | Choice |
Select horizontal alignment where to insert text to:
|
| Vertical align | yes | Choice |
Select vertical alignment where to insert text to:
|
| Horizontal offset | no | String | Specify horizontal offset of the image. Can be positive or negative integer in pixels |
| Vertical offset | no | String | Specify vertical offset of the image. Can be positive or negative integer in pixels |
Availability
| Modern Forms | List Actions | Scheduled/Triggered Actions |
| ✓ | ✓ | ✓* |
* In Scheduled/Triggered actions only inserting Rich Text to PDF from the current site's libraries is available.
Output
| Output Parameter | Type | Description |
| ItemID | Number | Returns the Id of the document in a library as output parameter and can be used in subsequent actions. |
| FileName | String | Returns the file name of document |
| Url | String | Absolute Url to the document in a library. Starts with 'https://' |
| ServerRelativeUrl | String | Server relative path to the document in a library. Starts with '/' |