Search results

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

08 Dec 2021 / 1 minute to read

The PDF Viewer library allows you to disable the tile rendering mode by setting the enableTileRendering property as false. Default value of the property is true. Tile rendering will split the PDF document page into multiple regions and will render each region by region.

Step 1: Follow the steps provided in the link to create simple PDF Viewer sample.

Step 2: Add the following code snippet to Disable the tile rendering.

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

Find the Sample how to disable the tile rendering