Search results

Disable the tile rendering in JavaScript (ES5) PDF Viewer control

31 Jan 2023 / 1 minute to read

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:

Copied to clipboard
<button id="disable">disable tile rendering</button>
Copied to clipboard
// Disable tile rendering.
document.getElementById('disable').addEventListener('click', () => {
  viewer.tileRenderingSettings.enableTileRendering = false;
});

Find the sample how to disable the tile rendering