This sample demonstrates how to add text, images and lines when generating PDF file in JavaScript with BytescoutPDF.js (Bytescout PDF Generator for JavaScript). function CreatePDF() { // create BytescoutPDF object instance var pdf = new BytescoutPDF(); // set document properties: Title, subject, keywords, author name and creator name pdf.propertiesSet("Sample document title", "Sample subject", "keyword1, keyword 2, keyword3", "Document Author Name", "Document Creator Name"); // set page size pdf.pageSetSize(BytescoutPDF.Letter); // set page orientation pdf.pageSetOrientation(true); // add new [...]