Forum Discussion
notusing
11 years agoCommunity Member
Saving Storyline Variables to a PDF
I was asked about an example I created for saving variables from Storyline into a PDF file for download. Rather than fill the ELHChallenge thread with the information I decided to write up a threa...
MathewAraujo
9 years agoCommunity Member
Hey Shahab,
It's because of the text wrapping. Can you share a bit of your code? It would be similar to the section below:
var x = doc.splitTextToSize(y, 500);
The splitTextToSize is the text wrapping and the value 500, in this case, is the length. 500 works well on Portrait, but it appears you are doing a Landscape doc. If you fix that value it should work.