convertImage

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

Syntax

function convertImage(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