Appearance
Mobile Web Capture API Reference / PageViewConfig
Interface: PageViewConfig
Configures the PageView, the close-up view of a single page with its editing and annotation tools.
Remarks
Set this through MobileWebCaptureConfig.pageViewConfig, which exposes the properties below that a consumer can meaningfully set; the rest are wired up by MWC.
Example
Keep the Upload button in the DocumentView only:
javascript
const mobileWebCapture = new Dynamsoft.MobileWebCapture({
license: "YOUR_LICENSE_KEY_HERE",
pageViewConfig: {
toolbarButtonsConfig: { upload: { isHidden: true } },
},
});Properties
annotationToolbarLabelConfig?
optionalannotationToolbarLabelConfig?:DDVAnnotationToolbarLabelConfig
Overrides the labels of the annotation toolbar buttons.
container?
optionalcontainer?:HTMLElement
The container element for this View.
Remarks
When omitted, MWC creates one inside MobileWebCaptureConfig.container.
toolbarButtonsConfig?
optionaltoolbarButtonsConfig?:PageViewToolbarButtonsConfig
Overrides the icon, label, or visibility of the PageView toolbar buttons.