...
PDFOptions options
of pdf conversion
Remarks
Header and footer html parameters specifies the single page and may contain following parameters:
Example
Sample header html
Code Block | ||
---|---|---|
| ||
<table style="border-bottom: 1px solid black; width: 100%;"> <tr> <td style="width:20%;text-align:center;">[logo]</td> <td style="width:50%;text-align:center;font-size:1.3em;">[documentTitle]</td> <td style="width:30%"> Document Number : [documentNumber]<br /> Page : [page]/[topage] </td> </tr> </table> |
Example
Usage
Code Block | ||
---|---|---|
| ||
` var html = '<html><body>Hello!</body></html>'; var pdfFile = $Files.AddPDF(html, 'sample.pdf'); return pdfFile.Id; |
...