convertDocx

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

Syntax

function convertDocx(sourceRealName: string, destinationName: string): string
 
Parameter Description
sourceRealName Unique internal ID of the .docx file (real name).
destinationName File name of the saved .pdf file.

Return Value

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

Examples