PDFMake customize function not working.

PDFMake customize function not working.

Ahmad RazaAhmad Raza Posts: 1Questions: 1Answers: 0
edited May 2022 in Free community support


I copied the above example to add image in a pdf export. But It's showing me an error:
undefined local variable or method 'doc'

Please help me solve this error.



  • colincolin Posts: 14,803Questions: 1Answers: 2,524

    It's working in the example you linked to, so it must be a cut&paste problem. We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.



Sign In or Register to comment.