How is your experience with the OutSystems Community?
pdf-tools-utils
Service icon

PDF Tools Utils

Stable version 1.0.4 (Compatible with OutSystems 11)
Uploaded
 on 10 Nov (11 days ago)
 by 
4.7
 (7 ratings)
pdf-tools-utils

PDF Tools Utils

Documentation
1.0.4

PDFSharp extension for O11

This release grows the PDFSharp extension in the PDF Tools application from 15 to 31 actions. It keeps every existing action's signature and key, so apps that use it keep working after a dependency refresh.

Item

Value

Package

PDF Tools.oap (application PDF Tools)

Extension

PDFSharp, key n0mIhV1doUS6I5GZFWCHAw, generation 35

Built

2026-11-04

Platform

OutSystems 11, .NET Framework 4.8, 64-bit Windows servers

Actions

31: 15 existing, 16 new

Structures

6: Fields, BinaryData, InspectorInfo, ExtractedImage, and new PageText and Bookmark

Libraries: the old PDFsharp 1.50 and MigraDoc binaries are replaced by PDFsharp 6.2.4 (MIT), PdfPig (Apache-2.0) for text, and PDFtoImage with PDFium (MIT) for rendering. The logic is the same code as the ODC external library PDF_Tools, so O11 and ODC behave the same.

New actions

Sixteen actions are new. Page lists accept ranges such as 1,4-6, and an empty list means all pages. Optional numeric inputs left at 0 use the default shown.

Action

What it does

Inputs → output

ExtractTextFromPDF

Returns the text of each page. Scanned pages without a text layer return empty text (no OCR).

PDFBinary, PageNumberList → Pages (PageText list)

AddTextWatermark

Writes text such as CONFIDENTIAL across the middle of pages

PDFBinary, Text, PageNumberList, FontSize (60), Color (#808080), Angle (45), Opacity (30) → ResultPDF

AddTextStamp

Writes text at a position, such as an approval stamp

PDFBinary, Text, XPosition, YPosition, PageNumberList, FontSize (12), Color, IsBold, Opacity (100) → ResultPDF

AddPageNumbers

Numbers every page; {page} and {total} in the format are replaced

PDFBinary, Format ("Page {page} of {total}"), Position (BottomCenter), FontSize (10), StartNumber (1), Margin (30) → ResultPDF

AddHeaderFooter

Writes a centred header and footer

PDFBinary, HeaderText, FooterText, PageNumberList, FontSize (10), Margin (30) → ResultPDF

DecryptPDF

Removes the password and restrictions; needs the owner password

PDFBinary, Password → ResultPDF

ExtractPages

Keeps only the listed pages, in their original order

PDFBinary, PageNumberList → ResultPDF

InsertPDFAt

Inserts all pages of a second PDF before a given page

PDFBinary, InsertPDF, Position → ResultPDF

RemovePages

Removes several pages at once; at least one page must remain

PDFBinary, PageNumberList → ResultPDF

FlattenForm

Turns form fields into page content, so values can't be changed

PDFBinary → ResultPDF

SetPDFMetadata

Sets title, author, subject, keywords and creator; empty keeps a value, a single space clears it

PDFBinary, Title, Author, Subject, Keywords, Creator → ResultPDF

ImagesToPDF

Creates one page per PNG or JPEG image

Images (BinaryData list), PageSize (Fit, A4 or Letter), Margin (36) → ResultPDF

CompressPDF

Compresses content and drops unused objects, without losing quality

PDFBinary → ResultPDF

RenderPageToImage

Renders a page as a PNG, for previews and thumbnails

PDFBinary, PageNumber, DPI (96, range 10–300), Password → Image

GetBookmarks

Returns the bookmarks with page and nesting level

PDFBinary → Bookmarks (Bookmark list)

AddBookmarks

Adds bookmarks, optionally replacing existing ones

PDFBinary, Bookmarks, ReplaceExisting → ResultPDF

Tip: FormFields_SetValues followed by FlattenForm gives a filled form that can't be edited.

Changes and fixes to existing actions

The 15 existing actions keep their names and parameters but were rewritten. Rows marked behaviour change can return a different result for the same inputs.

Action

Change

FormFields_SetValues

Fix: radio buttons and list boxes no longer crash. Checkboxes accept Yes, Off, true or false, so FormFields_Get output can be fed straight back. Fields that are already read-only can be refilled.

FormFields_SetValues

Behaviour change: combo, list and radio values must match an option exactly (case is ignored); a partial match such as "Ban" for Banana now raises an error instead of picking a wrong option. isOutputReadOnly = False keeps the PDF's own locks instead of unlocking every field. Read-only now also reaches nested fields.

FormFields_Get

Fix: lists nested fields and fields whose widget is a separate object, which were skipped. A PDF without a form returns an empty list instead of crashing. Values no longer carry over between fields.

ReorderPDFPages

Behaviour change: accepts any order: 1,1,2 repeats page 1 and 3,1 leaves page 2 out.

RotatePDF

Behaviour change: an empty page list rotates all pages, as documented; it used to do nothing. An angle other than 90, 180 or 270 raises an error instead of being ignored.

PDFDownloadURL

Behaviour change: failures raise an error naming the site and HTTP status, instead of returning an empty file. https:// is added when the URL has no scheme. Sends User-Agent and Accept headers, which some sites require.

AddImageToPDFs

Opacity is written into the PDF directly, without System.Drawing. The image is stored once, however many pages it is placed on.

ExtractImagesFromPDF

JPEG images are returned unchanged; others (RGB, grey, CMYK, palette) come back as PNG with their transparency. Unsupported formats are skipped.

PDFInspector

Fix: IsEncrypted is now true for PDFs that only have permission restrictions. A PDF that needs a password returns IsEncrypted and FileSizeInBytes only.

EncryptPDFWithPassword

Also blocks annotations, page assembly and full-quality printing.

MergePDFs

An empty list raises an error. A bad file is named by its position, such as "PDF 2".

RemovePageFromPDF

Removing the only page raises an error.

All page-list inputs

Behaviour change: a page that doesn't exist, or a value like 1,x, raises an error instead of being skipped silently.

GetNumberOfPagesFromPDF, SplitPDF and AppendPageToPDF work as before on the new library.

Compatibility

This is an update of the existing PDFSharp extension, not a new one: modules that reference it only need a dependency refresh.

Check

Result

Extension key

Unchanged (n0mIhV1doUS6I5GZFWCHAw)

Keys of the 15 existing actions

Unchanged, including PDFInspector (jC3VjkN0pESel4XbRoFaUQ), checked against the server

Parameter names, types and order

Unchanged, for example PDF_FileIn, Doc_Binaries, Page_Number, PDF_Output, NumberofPages

FormFields_SetValues.isOutputReadOnly

Still optional, default True

Structures Fields, BinaryData, InspectorInfo, ExtractedImage

Unchanged

ExtractImagesFromPDF output

Named Images in this build; PDFToolsDemo's reference showed Images2. Check expressions that use it after the refresh

The compatibility risk is in behaviour, not signatures: review callers of the rows marked behaviour change above, especially code that relied on errors being ignored.

Upgrade steps

  1. Install PDF Tools.oap: in Service Center, Factory → Solutions → Upload and Publish (or deploy it through LifeTime).
  2. In each consuming module, open Manage Dependencies, refresh PDFSharp, and tick any new actions you want to use.
  3. Fix any broken references Service Studio shows, such as ExtractImagesFromPDF.Images2.
  4. Raise the Server Request Timeout on actions that call PDFDownloadURL, RenderPageToImage or large merges; the screen default is 10 seconds.
  5. Publish the modules, then test the actions marked behaviour change, plus RenderPageToImage, which uses native libraries.

Known limits

  • PDFDownloadURL stops at 5 MB and after 80 seconds. The 5 MB cap comes from the shared ODC code and isn't needed on O11.
  • RenderPageToImage ships only 64-bit Windows native libraries (pdfium.dll, libSkiaSharp.dll in Bin\x64), and returns at most 5 MB of PNG.
  • DecryptPDF can't decrypt PDFs made by EncryptPDFWithPassword, because their owner password is random. Use RestrictPDFPermissions with an owner password you keep.
  • ExtractTextFromPDF reads text layers only; scanned pages come back empty.
  • CompressPDF doesn't resample images, so scanned PDFs shrink little.
  • Licence: PDFsharp is pinned to 6.2.4, the last MIT version. Version 6.5 and later are AGPL-3.0 and need a runtime licence, so don't upgrade without a legal review.

1.0.3

PDFSharp extension for O11: 

This release grows the PDFSharp extension in the PDF Tools application from 15 to 31 actions. It keeps every existing action's signature and key, so apps that use it keep working after a dependency refresh.

Item

Value

Package

PDF Tools.oap (application PDF Tools)

Extension

PDFSharp, key n0mIhV1doUS6I5GZFWCHAw, generation 35

Built

2026-11-04

Platform

OutSystems 11, .NET Framework 4.8, 64-bit Windows servers

Actions

31: 15 existing, 16 new

Structures

6: Fields, BinaryData, InspectorInfo, ExtractedImage, and new PageText and Bookmark

Libraries: the old PDFsharp 1.50 and MigraDoc binaries are replaced by PDFsharp 6.2.4 (MIT), PdfPig (Apache-2.0) for text, and PDFtoImage with PDFium (MIT) for rendering. The logic is the same code as the ODC external library PDF_Tools, so O11 and ODC behave the same.

New actions

Sixteen actions are new. Page lists accept ranges such as 1,4-6, and an empty list means all pages. Optional numeric inputs left at 0 use the default shown.

Action

What it does

Inputs → output

ExtractTextFromPDF

Returns the text of each page. Scanned pages without a text layer return empty text (no OCR).

PDFBinary, PageNumberList → Pages (PageText list)

AddTextWatermark

Writes text such as CONFIDENTIAL across the middle of pages

PDFBinary, Text, PageNumberList, FontSize (60), Color (#808080), Angle (45), Opacity (30) → ResultPDF

AddTextStamp

Writes text at a position, such as an approval stamp

PDFBinary, Text, XPosition, YPosition, PageNumberList, FontSize (12), Color, IsBold, Opacity (100) → ResultPDF

AddPageNumbers

Numbers every page; {page} and {total} in the format are replaced

PDFBinary, Format ("Page {page} of {total}"), Position (BottomCenter), FontSize (10), StartNumber (1), Margin (30) → ResultPDF

AddHeaderFooter

Writes a centred header and footer

PDFBinary, HeaderText, FooterText, PageNumberList, FontSize (10), Margin (30) → ResultPDF

DecryptPDF

Removes the password and restrictions; needs the owner password

PDFBinary, Password → ResultPDF

ExtractPages

Keeps only the listed pages, in their original order

PDFBinary, PageNumberList → ResultPDF

InsertPDFAt

Inserts all pages of a second PDF before a given page

PDFBinary, InsertPDF, Position → ResultPDF

RemovePages

Removes several pages at once; at least one page must remain

PDFBinary, PageNumberList → ResultPDF

FlattenForm

Turns form fields into page content, so values can't be changed

PDFBinary → ResultPDF

SetPDFMetadata

Sets title, author, subject, keywords and creator; empty keeps a value, a single space clears it

PDFBinary, Title, Author, Subject, Keywords, Creator → ResultPDF

ImagesToPDF

Creates one page per PNG or JPEG image

Images (BinaryData list), PageSize (Fit, A4 or Letter), Margin (36) → ResultPDF

CompressPDF

Compresses content and drops unused objects, without losing quality

PDFBinary → ResultPDF

RenderPageToImage

Renders a page as a PNG, for previews and thumbnails

PDFBinary, PageNumber, DPI (96, range 10–300), Password → Image

GetBookmarks

Returns the bookmarks with page and nesting level

PDFBinary → Bookmarks (Bookmark list)

AddBookmarks

Adds bookmarks, optionally replacing existing ones

PDFBinary, Bookmarks, ReplaceExisting → ResultPDF

Tip: FormFields_SetValues followed by FlattenForm gives a filled form that can't be edited.

Changes and fixes to existing actions

The 15 existing actions keep their names and parameters but were rewritten. Rows marked behaviour change can return a different result for the same inputs.

Action

Change

FormFields_SetValues

Fix: radio buttons and list boxes no longer crash. Checkboxes accept Yes, Off, true or false, so FormFields_Get output can be fed straight back. Fields that are already read-only can be refilled.

FormFields_SetValues

Behaviour change: combo, list and radio values must match an option exactly (case is ignored); a partial match such as "Ban" for Banana now raises an error instead of picking a wrong option. isOutputReadOnly = False keeps the PDF's own locks instead of unlocking every field. Read-only now also reaches nested fields.

FormFields_Get

Fix: lists nested fields and fields whose widget is a separate object, which were skipped. A PDF without a form returns an empty list instead of crashing. Values no longer carry over between fields.

ReorderPDFPages

Behaviour change: accepts any order: 1,1,2 repeats page 1 and 3,1 leaves page 2 out.

RotatePDF

Behaviour change: an empty page list rotates all pages, as documented; it used to do nothing. An angle other than 90, 180 or 270 raises an error instead of being ignored.

PDFDownloadURL

Behaviour change: failures raise an error naming the site and HTTP status, instead of returning an empty file. https:// is added when the URL has no scheme. Sends User-Agent and Accept headers, which some sites require.

AddImageToPDFs

Opacity is written into the PDF directly, without System.Drawing. The image is stored once, however many pages it is placed on.

ExtractImagesFromPDF

JPEG images are returned unchanged; others (RGB, grey, CMYK, palette) come back as PNG with their transparency. Unsupported formats are skipped.

PDFInspector

Fix: IsEncrypted is now true for PDFs that only have permission restrictions. A PDF that needs a password returns IsEncrypted and FileSizeInBytes only.

EncryptPDFWithPassword

Also blocks annotations, page assembly and full-quality printing.

MergePDFs

An empty list raises an error. A bad file is named by its position, such as "PDF 2".

RemovePageFromPDF

Removing the only page raises an error.

All page-list inputs

Behaviour change: a page that doesn't exist, or a value like 1,x, raises an error instead of being skipped silently.

GetNumberOfPagesFromPDF, SplitPDF and AppendPageToPDF work as before on the new library.

Compatibility

This is an update of the existing PDFSharp extension, not a new one: modules that reference it only need a dependency refresh.

Check

Result

Extension key

Unchanged (n0mIhV1doUS6I5GZFWCHAw)

Keys of the 15 existing actions

Unchanged, including PDFInspector (jC3VjkN0pESel4XbRoFaUQ), checked against the server

Parameter names, types and order

Unchanged, for example PDF_FileIn, Doc_Binaries, Page_Number, PDF_Output, NumberofPages

FormFields_SetValues.isOutputReadOnly

Still optional, default True

Structures Fields, BinaryData, InspectorInfo, ExtractedImage

Unchanged

ExtractImagesFromPDF output

Named Images in this build; PDFToolsDemo's reference showed Images2. Check expressions that use it after the refresh

The compatibility risk is in behaviour, not signatures: review callers of the rows marked behaviour change above, especially code that relied on errors being ignored.

Upgrade steps

  1. Install PDF Tools.oap: in Service Center, Factory → Solutions → Upload and Publish (or deploy it through LifeTime).
  2. In each consuming module, open Manage Dependencies, refresh PDFSharp, and tick any new actions you want to use.
  3. Fix any broken references Service Studio shows, such as ExtractImagesFromPDF.Images2.
  4. Raise the Server Request Timeout on actions that call PDFDownloadURL, RenderPageToImage or large merges; the screen default is 10 seconds.
  5. Publish the modules, then test the actions marked behaviour change, plus RenderPageToImage, which uses native libraries.

Known limits

  • PDFDownloadURL stops at 5 MB and after 80 seconds. The 5 MB cap comes from the shared ODC code and isn't needed on O11.
  • RenderPageToImage ships only 64-bit Windows native libraries (pdfium.dll, libSkiaSharp.dll in Bin\x64), and returns at most 5 MB of PNG.
  • DecryptPDF can't decrypt PDFs made by EncryptPDFWithPassword, because their owner password is random. Use RestrictPDFPermissions with an owner password you keep.
  • ExtractTextFromPDF reads text layers only; scanned pages come back empty.
  • CompressPDF doesn't resample images, so scanned PDFs shrink little.
  • Licence: PDFsharp is pinned to 6.2.4, the last MIT version. Version 6.5 and later are AGPL-3.0 and need a runtime licence, so don't upgrade without a legal review.

1.0.2

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.

ParameterTypeDescription
PDFBinary         Binary      Input PDF
PageNumberListTextPages to rotate
AngleIntegerDegrees (90, 180, 270)
ResultPDFBinaryRotated output PDF

2. EncryptPDFWithPassword

Encrypts a PDF with a user password.

ParameterTypeDescription
PDFBinary    Binary    PDF to protect
PasswordTextUser password
ResultPDFBinaryProtected PDF

3. MergePDFs

Combines multiple PDFs into a single output.

ParameterTypeDescription
Doc_Binaries    List of Binary Records    PDFs to merge
PDF_OutputBinaryFinal merged PDF

4. SplitPDF

Splits a PDF into individual pages.

ParameterTypeDescription
PDFBinary    Binary     Input PDF
PagesListEach page as a binary record

5. RemovePageFromPDF

Removes a specific page by index.

ParameterTypeDescription
PDFBinary     Binary     Input PDF
PageNumberInteger        Page to remove (1-based)
ResultPDFBinaryOutput without that page

6. AppendPageToPDF

Appends a new page (binary PDF) to an existing file.

ParameterTypeDescription
PDFBinaryBinary    Main PDF
PageBinaryPage to append
ResultPDF   BinaryFinal PDF

7. GetNumberOfPagesFromPDF

Returns the number of pages in a given PDF.

ParameterTypeDescription
PDFBinary   BinaryPDF
PageCountInteger     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.

ParameterTypeDescription
PDFBinaryBinary   Input PDF
FieldListListList of fields with name/value
IsOutputReadOnly   Boolean   Lock form after filling
ResultPDFBinaryOutput PDF

10. PDFDownloadURL

Downloads a PDF from a public URL.

ParameterTypeDescription
PDFURLText           Full URL of the PDF
PDFBinary

11. AddImageToPDFs

Adds an image (e.g., signature, logo, watermark) to specified pages with custom size, position, and opacity.

ParameterTypeDescription
PDFBinaryBinary    Input PDF
ImageBinaryBinaryImage to embed
PageNumberList      TextComma-separated pages (or blank = all)       
XPositionDecimal     X coordinate
YPositionDecimalY coordinate
ImageWidthDecimalWidth of image
ImageHeightDecimalHeight of image
OpacityInteger0–100
ResultPDFBinaryPDF with image applied

12. PDFInspector

Extracts metadata such as title, author, PDF version, number of pages, encryption status, etc.

Output Structure: InspectorInfo

  • Title, Author, Subject, Keywords

  • Creator, Producer

  • PDFVersion

  • PageCount

  • IsEncrypted

  • FileSizeInBytes


13. ReorderPDFPages

Reorders pages in a PDF based on a custom comma-separated list.

ParameterTypeDescription
PDFBinaryBinary     Input PDF
PageOrderList      Texte.g., "3,1,2"
ResultPDFBinaryOutput with reordered pages

14. ExtractImagesFromPDF

Extracts embedded image content from a PDF and returns them by page.

Output Structure: ExtractedImageRecord

  • Image (Binary)

  • Page (Integer)

   
Binary   Downloaded PDF content


1.0.1

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.

ParameterTypeDescription
PDFBinary         Binary      Input PDF
PageNumberListTextPages to rotate
AngleIntegerDegrees (90, 180, 270)
ResultPDFBinaryRotated output PDF

2. EncryptPDFWithPassword

Encrypts a PDF with a user password.

ParameterTypeDescription
PDFBinary    Binary    PDF to protect
PasswordTextUser password
ResultPDFBinaryProtected PDF

3. MergePDFs

Combines multiple PDFs into a single output.

ParameterTypeDescription
Doc_Binaries    List of Binary Records    PDFs to merge
PDF_OutputBinaryFinal merged PDF

4. SplitPDF

Splits a PDF into individual pages.

ParameterTypeDescription
PDFBinary    Binary     Input PDF
PagesListEach page as a binary record

5. RemovePageFromPDF

Removes a specific page by index.

ParameterTypeDescription
PDFBinary     Binary     Input PDF
PageNumberInteger        Page to remove (1-based)
ResultPDFBinaryOutput without that page

6. AppendPageToPDF

Appends a new page (binary PDF) to an existing file.

ParameterTypeDescription
PDFBinaryBinary    Main PDF
PageBinaryPage to append
ResultPDF   BinaryFinal PDF

7. GetNumberOfPagesFromPDF

Returns the number of pages in a given PDF.

ParameterTypeDescription
PDFBinary   BinaryPDF
PageCountInteger     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.

ParameterTypeDescription
PDFBinaryBinary   Input PDF
FieldListListList of fields with name/value
IsOutputReadOnly   Boolean   Lock form after filling
ResultPDFBinaryOutput PDF

10. PDFDownloadURL

Downloads a PDF from a public URL.

ParameterTypeDescription
PDFURLText           Full URL of the PDF
PDFBinary

11. AddImageToPDFs

Adds an image (e.g., signature, logo, watermark) to specified pages with custom size, position, and opacity.

ParameterTypeDescription
PDFBinaryBinary    Input PDF
ImageBinaryBinaryImage to embed
PageNumberList      TextComma-separated pages (or blank = all)       
XPositionDecimal     X coordinate
YPositionDecimalY coordinate
ImageWidthDecimalWidth of image
ImageHeightDecimalHeight of image
OpacityInteger0–100
ResultPDFBinaryPDF with image applied

12. PDFInspector

Extracts metadata such as title, author, PDF version, number of pages, encryption status, etc.

Output Structure: InspectorInfo

  • Title, Author, Subject, Keywords

  • Creator, Producer

  • PDFVersion

  • PageCount

  • IsEncrypted

  • FileSizeInBytes


13. ReorderPDFPages

Reorders pages in a PDF based on a custom comma-separated list.

ParameterTypeDescription
PDFBinaryBinary     Input PDF
PageOrderList      Texte.g., "3,1,2"
ResultPDFBinaryOutput with reordered pages

14. ExtractImagesFromPDF

Extracts embedded image content from a PDF and returns them by page.

Output Structure: ExtractedImageRecord

  • Image (Binary)

  • Page (Integer)

   
Binary   Downloaded PDF content


1.0.0

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.

ParameterTypeDescription
PDFBinary         Binary      Input PDF
PageNumberListTextPages to rotate
AngleIntegerDegrees (90, 180, 270)
ResultPDFBinaryRotated output PDF

2. EncryptPDFWithPassword

Encrypts a PDF with a user password.

ParameterTypeDescription
PDFBinary    Binary    PDF to protect
PasswordTextUser password
ResultPDFBinaryProtected PDF

3. MergePDFs

Combines multiple PDFs into a single output.

ParameterTypeDescription
Doc_Binaries    List of Binary Records    PDFs to merge
PDF_OutputBinaryFinal merged PDF

4. SplitPDF

Splits a PDF into individual pages.

ParameterTypeDescription
PDFBinary    Binary     Input PDF
PagesListEach page as a binary record

5. RemovePageFromPDF

Removes a specific page by index.

ParameterTypeDescription
PDFBinary     Binary     Input PDF
PageNumberInteger        Page to remove (1-based)
ResultPDFBinaryOutput without that page

6. AppendPageToPDF

Appends a new page (binary PDF) to an existing file.

ParameterTypeDescription
PDFBinaryBinary    Main PDF
PageBinaryPage to append
ResultPDF   BinaryFinal PDF

7. GetNumberOfPagesFromPDF

Returns the number of pages in a given PDF.

ParameterTypeDescription
PDFBinary   BinaryPDF
PageCountInteger     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.

ParameterTypeDescription
PDFBinaryBinary   Input PDF
FieldListListList of fields with name/value
IsOutputReadOnly   Boolean   Lock form after filling
ResultPDFBinaryOutput PDF

10. PDFDownloadURL

Downloads a PDF from a public URL.

ParameterTypeDescription
PDFURLText           Full URL of the PDF
PDFBinary   Binary   Downloaded PDF content