Web SDKv1.0.0

PDFViewer.config

Resolved configuration: your options over the defaults, with what the license does not cover switched off (its tools, and toolbar.print / download). Its tools names every tool: false for one you, the mode or the license switched off, otherwise your options for it or true. Follows the rights of the viewer's document: grows at once when they grow, and narrows only when pages are imported or another document is opened.
getterPropertiessince 1.0.0

Signature

get config(): Readonly<ResolvedPDFViewerConfig>

Returns

Readonly<ResolvedPDFViewerConfig>

Example

TypeScript
const canSign = viewer.config.tools.sign !== false;

More in PDFViewer