PdfConverter

PdfConverter class

Converter for converting template file to pdf.

class PdfConverter;

Methods

MethodDescription
static process(string, string)Converts given template file to pdf.

process(string, string)

Converts given template file to pdf.

static process(templateFile: string, resultFile: string) : void;

Parameters:

ParameterTypeDescription
templateFilestringThe template file to be converted
resultFilestringThe resultant file, it must be pdf file.