Frage

I`m using RazorPDF from the NuGet Package and i want to know how i can set the page to render as landscape.

The code of the page is something like this:

<itext pagesize="A4">
..... some content .....
</itext>
War es hilfreich?

Lösung

Add this attribute

orientation="landscape"
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top