Can anyone tell me how to use styles with PdfSharpCore? I have a lot of troubles with jsreport running on OpenShift so I wanted to try PdfSharpCore but I am not able to find how to use css. With jsreport is easy, I place my css between <style> </style>
and simply add it to the html.
style example:
<style>.flex-box { display: flex; flex-flow: row; } .ln-title { font-size: 15px; }</style>
For PdfSharpCore, all I found was var font = new XFont("Arial", 20, XFontStyle.Bold); var textColor = XBrushes.Black; and this is not even what I need/want to achieve...
p.s. feel free to suggest some other free libraries which will work with OpenShift.
Thanks