ftos.files.pdf.convertPageToImage

IMPORTANT!  
Starting with v24.3.0, this is renamed from convertPDFPageToImage to ftos.files.pdf.convertPageToImage.

Converts a page from a stored PDF file to a .jpg image and saves it to the file upload location.

This is a business logic method for business service components.

Syntax

function ftos.files.pdf.convertPageToImage(sourceRealName: string, pageNo: int): string
 
Parameter Description
sourceRealName Unique internal ID of the PDF file (real name).
pageNo Page number in the PDF file you wish to save as image.

Return Value

Returns a string containing the saved JPG's real name.

Examples