4 ms·
How would I go about using this from PowerShell?
by aargh_aargh 4y ago
How would I go about using this from PowerShell?
- majkinetor 4y agoYou can even compile C# code in it, so it could be direct copy paste with some boilerplate.
- juki 4y agoYou could just build the example in C#, grab all the required dlls from it and then load them in PowerShell with `Add-Type -Path '.\QuestPDF.dll'`. Unfortunately it looks like this uses extension methods for everything, and those are a pain to use in PowerShell. You'll probably want to write the PDF creation bits as a C# cmdlet instead.