To make print preview not rotated for landscape documents
you have to set the enablePrintRotation (#enableprintrotation) property as false.
We have attached the Code
Snippet and sample for your reference below.
Code
Snippet:
<ejs-pdfviewer
id="pdfViewer"
[serviceUrl]="service"
[documentPath]="document"
[enablePrintRotation]="false"
style="height:640px;display:block"
></ejs-pdfviewer>
|
Sample: V8vthe
(forked) - StackBlitz
Kindly try this and let us
know if you have any concerns.