Some time ago I found myself having to send data via email to the stage of a game. the difficulty was to build a layout graphically pretty, so I started researching how to create code from a pdf document.
On the web I found a C # library which I used sharp Pdf changing some parts to create these APIs.
the only thing that was not possible to do since I use mac was to create dynamically un0immagine, I have circumvented this problem by replacing all free System.Drawing with those of Unity.
I hope that it will be useful.
The Example with API can be found here.
Sharp Pdf Example
The Only API can be found here.
Sharp Pdf API
The original plugin documentation and examples at this link