문제

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>
도움이 되었습니까?

해결책

Add this attribute

orientation="landscape"
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top