pruiz / WkHtmlToXSharp

C# wrapper wrapper (using P/Invoke) for the excelent Html to PDF conversion library wkhtmltopdf library.
239 stars 84 forks source link

Add support for PageSize setting #34

Closed tomdenny closed 8 years ago

tomdenny commented 8 years ago

I've added a subset of tylerabahr@ad9a935ea01c852133071fabbaf1b7d5a551e517 commit from his pull request. I needed it to support the PageSize setting. I tested it with A4 (the default) and Letter (very common in the USA).

Thanks for your work!

pruiz commented 8 years ago

Hi,

Please, can you review spacing issues within your pull-request? It looks like you are using spaces, when this code is using tabs. :?

Regards

tomdenny commented 8 years ago

You were correct. I set VS to keep tabs. I think the spacing should be the same now.