The OutSystems PDF Helper Component is an extension designed to enhance OutSystems applications with the capability to generate and manipulate PDF documents. This component is crafted to perform certain activities on PDFs within the OutSystems low-code environment.
The PDF Helper Component uses itextsharp and Ghostscript libraries. To know more about it follow the links:
https://itextpdf.com/products/itextsharp,
https://www.ghostscript.com/
Add the component as a Dependency of your project, Go to your Service Studio environment, click the manage dependencies button on the top menu, and add the following references to your Reactive Web Application.
Drag the server action to a client or server action.
Assign the correct Input parameters.
Then use the output from the action.
By using the AddTextWatermarkInPDF_Memory action you can add a text watermark in the PDF and maintain its text size, The watermark is added on every page of the PDF.
Input(s)
PDF
Binary data of the PDF we want to write the watermark on.
Watermark Text
Text Needs to be printed as a watermark on the PDF.
Text Size
Size of Text of the watermark.
Output(s)
OutPDF
PDF Binary Data with watermark text printed.
ErrorMessage
Text error message.
By using the CompressPDF action you can reduce the size of a PDF.
Input
CompressedPDF
IsSussess
By using the ReadtextfromPDF action we can read the text from a PDF.
PDFBytes
PDFText
By using the JoinPDF action we can merge multiple PDF files and make a single PDF.
PDFileList
JoinedPDF
By using the PrintPageNumber action we can add the page number on the PDF pages and manage the position of the number.
Input(s)PdfByte
XAxis
YAxis
PaginationText
Output
PDFOutByte
By using the RemoveJavascript action we can remove the Java script from a PDF file.
InputPDF
OutputOutPDF
By using GetPDFAnnotation you can add notes & annotations to any PDF document: Comments, corrections, signatures, highlighting, and even photos and drawings. Save annotations in the original file.
Comments
By using the AddText action we can add the text on the PDF pages, manage the position and the size
Text
FontSize
By using the ExtractImagesFromPDF action you can convert PDF into an image.
Output(s)Image
Validates if an existing PDF file contains embedded JavaScript. This method helps developers identify potential security risks by checking for scripts within the PDF. It returns a Boolean indicating whether the PDF is free of any potentially malicious scripts.
Output(s)IsValid
Add Watermark
Compress PDF
Read text from PDF
Join PDF
Print number on PDF
Get PDF Annotation
Add Text
RemoveJS
ExtractImagesFromPDF