ftos.convert.image.toPdf

IMPORTANT!  
Starting with v24.3.0, this is renamed from convertImage to ftos.convert.image.toPdf.

Converts a stored image file to PDF format and saves it to the file upload location.

This is a business logic method for business service components.

Syntax

Copy
function ftos.convert.image.toPdf(sourceRealName: string): string
 
Parameter Description
sourceRealName Unique internal ID of the image file (real name).

Return Value

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

Examples