fpanaccia / Wkhtmltopdf.NetCore.Example-deprecated

Implementation of Wkhtmltopdf.NetCore
81 stars 33 forks source link

Adding page orientation as an input option #3

Closed jamiehaywood closed 4 years ago

jamiehaywood commented 5 years ago

On the WKHTML docs there's the option to add page orientation as an input. Is this possible with your solution?

Cheers

fpanaccia commented 4 years ago

Hi, sorry for the delay, it could be possible, i guess i could do some modifications to make it work.

When are you gonna need this? Also if you wanna, feel free to do the modifications required in the library, currently i do not have a lot of free time

Regards!

fpanaccia commented 4 years ago

Hi @jamiehaywood, sorry for the delay, i have been a rough couple of weeks.

I just pushed a new version which allows to set the parameters you send to wkhtml, you can look it up right here https://github.com/fpanaccia/Wkhtmltopdf.NetCore.Example/blob/master/Rotativa/Controllers/TestViewsController.cs line 139.

Regards!