# Configuration

By setting the configuration options of the Telerik UI for <a href="https://www.telerik.com/maui-ui/pdf-viewer" target="_blank">.NET MAUI PDF Viewer</a>, you can control how the opened document looks on the screen.

## Setting the Zoom Level

The PDF Viewer exposes the `MaxZoomLevel` and `MinZoomLevel` properties that allow you to define what zoom value will be available to the users:

* `MaxZoomLevel`(`double`)—Defines the maximum magnification factor at which content can be maximized. The default value is `3.0`.
* `MinZoomLevel`(`double`)—Defines the minimum magnification factor at which content can be minimized. The default value is `0.3`.

> note The `MaxZoomLevel` and `MinZoomLevel` properties work in conjunction with the `ZoomIn` and `ZoomOut` commands, which users utilize to change the zoom level in the application. For more details, see the [Commands](https://www.telerik.com/maui-ui/documentation/controls/pdfviewer/commands) article.

## Configure the Spacing between the Pages

The Telerik UI for .NET MAUI PDF Viewer allows you to control the space between the pages.

* `PageSpacing`(`double`)—Defines the space between the pages of the PDF Document. The default value is `20.0`.

## Customize the Default Busy Indicator

When loading documents in the PDF Viewer, a busy indicator appears on the screen.

![Telerik UI for .NET MAUI PDF Viewer Busy Indicator](https://www.telerik.com/maui-ui/documentation/assets/d96e81974d38e5d46a805fa30227b972/pdfviewer-busyindicator.png "PDF Viewer BusyIndicator")

If the default look of the busy indicator does not suit your needs, you can define a custom template through the `BusyIndicatorTemplate` property:

* `BusyIndicatorTemplate`(`DataTemplate`)—Specifies the template visualized while the PDF document is loading.

The following example shows how to define a custom `BusyIndicatorTemplate`:

```XAML
<telerik:RadPdfViewer x:Name="pdfViewer">
    <telerik:RadPdfViewer.BusyIndicatorTemplate>
        <DataTemplate>
            <telerik:RadBusyIndicator AnimationType="Animation10"
                                      AnimationContentHeightRequest="100"
                                      AnimationContentWidthRequest="100"
                                      IsBusy="True" />
        </DataTemplate>
    </telerik:RadPdfViewer.BusyIndicatorTemplate>
</telerik:RadPdfViewer>
```

The next image illustrates the Busy Indicator template:

![Telerik UI for .NET MAUI PDF Viewer Busy Indicator Template](https://www.telerik.com/maui-ui/documentation/assets/2b3f49b4fcfe29ae5d01e08091d3990a/pdfviewer-busyindicator-template.png "PDF Viewer BusyIndicator Template")

> For a runnable example with the PDF Viewer Busy Indicator, see the [SDKBrowser Demo Application](https://www.telerik.com/maui-ui/documentation/demos-and-sample-apps/sdkbrowser-app) and go to **PdfViewer > Features**.

## See Also

* [Available Commands](https://www.telerik.com/maui-ui/documentation/controls/pdfviewer/commands)
* [PdfViewer Toolbar](https://www.telerik.com/maui-ui/documentation/controls/pdfviewer/toolbar/overview)
