# Interface: PageViewConfig

[Mobile Web Capture API Reference](../index.md) / 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](MobileWebCaptureConfig.md#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?

> `optional` **annotationToolbarLabelConfig?**: [`DDVAnnotationToolbarLabelConfig`](DDVAnnotationToolbarLabelConfig.md)

Overrides the labels of the annotation toolbar buttons.

***

### container?

> `optional` **container?**: `HTMLElement`

The container element for this View.

#### Remarks

When omitted, MWC creates one inside [MobileWebCaptureConfig.container](MobileWebCaptureConfig.md#container).

***

### toolbarButtonsConfig?

> `optional` **toolbarButtonsConfig?**: [`PageViewToolbarButtonsConfig`](PageViewToolbarButtonsConfig.md)

Overrides the icon, label, or visibility of the `PageView` toolbar buttons.
