Disable tile rendering in ASP.NET Core PDF Viewer control

To disable the tile rendering feature in the Syncfusion PDF viewer control, you can use the enableTileRendering property. This property allows you to enable or disable the tile rendering feature, which is used to improve the performance of the PDF viewer when displaying large documents.

To disable the tile rendering feature, you can set the enableTileRendering property to false.

By default, the tile rendering feature is enabled in the PDF viewer. Disabling it may improve the performance of the PDF viewer when displaying small documents, but it may also reduce the performance when displaying large documents.

Here is an example of how you can use the enableTileRendering property:

<div style="width:100%;height:600px">
    <ejs-pdfviewer id="pdfviewer"
                   style="height:600px"
                   documentPath="https://cdn.syncfusion.com/content/pdf/form-filling-document.pdf"
                   resourceUrl="https://cdn.syncfusion.com/ej2/31.1.17/dist/ej2-pdfviewer-lib"
                   tileRenderingSettings="@(new Syncfusion.EJ2.PdfViewer.PdfViewerTileRenderingSettings
                    { EnableTileRendering=false })">
    </ejs-pdfviewer>
</div>
<div style="width:100%;height:600px">
    <ejs-pdfviewer id="pdfviewer"
                   style="height:600px"
                   documentPath="https://cdn.syncfusion.com/content/pdf/form-filling-document.pdf"
                   serviceUrl="/api/PdfViewer"
                   tileRenderingSettings="@(new Syncfusion.EJ2.PdfViewer.PdfViewerTileRenderingSettings
                    { EnableTileRendering=false })">
    </ejs-pdfviewer>
</div>