DocumentViewerSettings Class
Description
Initial settings accepted by `DocumentViewerElement` and `DocumentViewerController`. Nested options are documented as DocumentLoadSettings, SignatureSettings, and OAuthSettings.
Syntax
DocumentViewerSettingsMembers
Properties
| Property | Description |
|---|---|
| basePath | Base URL used for server-side document endpoints. |
| customQueryParams | Additional query parameters sent to server-side document endpoints. Endpoint-specific values take precedence, and `access_token` is reserved for OAuth handling. |
| dock | Initial dock style: `0` for window mode or `1` for fill mode. |
| documentData | Base64-encoded document loaded automatically during initialization. |
| documentLoadSettings | Provider settings for the automatically loaded document. |
| documentPath | Document name or path associated with `documentData`. |
| formattingPrinter | Formatting-printer identifier sent to the document provider. |
| oauthSettings | OAuth settings for requests to server-side document endpoints. |
| renderMode | Rendering mode: `0` automatic, `1` fonts, `2` glyph outlines, or `4` bitmaps. |
| resources | Localized viewer strings keyed by their `TX_*` resource names. |
| showThumbnailPane | Whether the left sidebar is initially visible in desktop mode. |
| signatureSettings | Signature settings for the automatically loaded document. |
| toolbarDocked | Whether the desktop toolbar is docked to the viewer. |
| userNames | User names available to annotation and comment workflows. The first entry is treated as the current user. |
| view | Viewer mode: `0` mobile, `1` desktop, or `2` automatic detection. |