I am working in something called Storyline 360 which is a eLearning development tool. Ive desigend a certificate in illustrator and I have created a JavaScript that gets a variable from the course (user name) and todays date and inputs in upon the certificate/PDF.
So to the question. How do I define where the text boxes should appear on the PDF?
I’ve gotten this far for the date:
doc.text(date, (doc.internal.pageSize.width / 2), 172, null, null, ‘center’);
But the X-coordinate becomes centered and instead I would want to define it as I have defined the Y-axis. But when I do this:
doc.text(date, (doc.internal.pageSize.width / 67, 172, null, null, ‘center’);
Storyline won’t process it.
Thanks!
Viktor Öström is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3