viewer config

New Here ,
Jan 09, 2022 Jan 09, 2022

Copy link to clipboard

Copied

[PDF Embed API] I want to update the viewer config after its loaded?
(we want to build a VIEWER COMPONENTS just like in the demo, but how i can control viewer config for existing file?
TOPICS
PDF Embed API

Views

55

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 17, 2022 Feb 17, 2022

Copy link to clipboard

Copied

LATEST

You can't. You'll need to set the AdobeDC.View object to null and then create a new one with a new config between each change. But don't worry, the scripts will be cached and the performance isn't impacted.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources