This component provides advanced server-side PDF manipulation for OutSystems 11 Reactive Apps, powered by the PDFSharp and MigraDoc libraries. All operations work with binary data and run within the OutSystems Integration Studio context.
Actions Overview
1. RotatePDF
Rotates specific pages in a PDF.
| Parameter | Type | Description |
|---|
PDFBinary | Binary | Input PDF |
PageNumberList | Text | Pages to rotate |
Angle | Integer | Degrees (90, 180, 270) |
ResultPDF | Binary | Rotated output PDF |
2. EncryptPDFWithPassword
Encrypts a PDF with a user password.
| Parameter | Type | Description |
|---|
PDFBinary | Binary | PDF to protect |
Password | Text | User password |
ResultPDF | Binary | Protected PDF |
3. MergePDFs
Combines multiple PDFs into a single output.
| Parameter | Type | Description |
|---|
Doc_Binaries | List of Binary Records | PDFs to merge |
PDF_Output | Binary | Final merged PDF |
4. SplitPDF
Splits a PDF into individual pages.
| Parameter | Type | Description |
|---|
PDFBinary | Binary | Input PDF |
Pages | List | Each page as a binary record |
5. RemovePageFromPDF
Removes a specific page by index.
| Parameter | Type | Description |
|---|
PDFBinary | Binary | Input PDF |
PageNumber | Integer | Page to remove (1-based) |
ResultPDF | Binary | Output without that page |
6. AppendPageToPDF
Appends a new page (binary PDF) to an existing file.
| Parameter | Type | Description |
|---|
PDFBinary | Binary | Main PDF |
Page | Binary | Page to append |
ResultPDF | Binary | Final PDF |
7. GetNumberOfPagesFromPDF
Returns the number of pages in a given PDF.
| Parameter | Type | Description |
|---|
PDFBinary | Binary | PDF |
PageCount | Integer | Output count |
8. FormFields_Get
Extracts field names, values, and types from a fillable PDF.
Output Field Structure: FieldsRecord |
|---|
Name – Field name |
Value – Current field value |
Type – TXT / CHK / RAD / LBX |
9. FormFields_SetValues
Fills field values into a fillable PDF.
| Parameter | Type | Description |
|---|
PDFBinary | Binary | Input PDF |
FieldList | List | List of fields with name/value |
IsOutputReadOnly | Boolean | Lock form after filling |
ResultPDF | Binary | Output PDF |
10. PDFDownloadURL
Downloads a PDF from a public URL.
| Parameter | Type | Description |
|---|
PDFURL | Text | Full URL of the PDF |
PDFBinary
11. AddImageToPDFsAdds an image (e.g., signature, logo, watermark) to specified pages with custom size, position, and opacity. | Parameter | Type | Description |
|---|
| PDFBinary | Binary | Input PDF | | ImageBinary | Binary | Image to embed | | PageNumberList | Text | Comma-separated pages (or blank = all) | | XPosition | Decimal | X coordinate | | YPosition | Decimal | Y coordinate | | ImageWidth | Decimal | Width of image | | ImageHeight | Decimal | Height of image | | Opacity | Integer | 0–100 | | ResultPDF | Binary | PDF with image applied |
12. PDFInspectorExtracts metadata such as title, author, PDF version, number of pages, encryption status, etc. Output Structure: InspectorInfo
13. ReorderPDFPagesReorders pages in a PDF based on a custom comma-separated list. | Parameter | Type | Description |
|---|
| PDFBinary | Binary | Input PDF | | PageOrderList | Text | e.g., "3,1,2" | | ResultPDF | Binary | Output with reordered pages |
14. ExtractImagesFromPDFExtracts embedded image content from a PDF and returns them by page. Output Structure: ExtractedImageRecord Image (Binary)
Page (Integer)
| Binary | Downloaded PDF content
|