Click here to ask a question or provide feedback on this topic Bookmark this topic Print this topic    Previous 

Basic Template

Below is the example for a very basic template. It shows how to use the most important variables for templates: {%Title%} and {%Body%}

If you assign this template to all your documents, then all documets will have a consistent title bar, and all will show the title formatted as <h1> directly followed by the body (the content) of the document.


<html>

  <head>
    <title>Atozed - {%title%}</title>
  </head>

<body>
  <h2>{%title%}</h1>
  {%body%}
</body>
</html>



Feedback? Bookmark this topic    Previous 

We use the ABCpdf .NET PDF component for HTML to PDF conversion...