# Exporting Fixed Page to Image

RadPdfViewer provides an API for exporting a PDF document page to an image. This can be done with the **ThumbnailFactory** class. The class exposes a single method - **CreateThumbnail** - which accepts objects of type **RadFixedPage** and **Size**, and returns an **ImageSource** object.

**Example 1: Using the ThumbnailFactory's method**

```C#
ThumbnailFactory thumbnailFactory = new ThumbnailFactory();
ImageSource imageSource = thumbnailFactory.CreateThumbnail(radFixedPageInstance, new Size(150, 250));
```

The **ThumbnailFactory** class is defined in the **Telerik.Windows.Documents.UI** namespace.

## ThumbnailsConverter

The **ThumbnailsConverter** class is a standard converter that implements the native [IValueConverter](https://msdn.microsoft.com/en-us/library/system.windows.data.ivalueconverter\(v=vs.110\).aspx). It accepts a **RadFixedDocument** as a value and returns a **ThumbnailsCollection** object. The items in the collection are of type **Thumbnail** and they expose information about the converted **RadFixedPage** and the image result. You can find a runnable example demonstrating the ThumbnailsConverter in the [PdfViewer/Thumbnails](https://github.com/telerik/xaml-sdk/blob/master/PdfViewer/Thumbnails) SDK example in GitHub.

The converter is defined in the **Telerik.Windows.Documents.Converters** namespace.

## See Also

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radpdfviewer/getting-started)
* [Viewer Modes](https://www.telerik.com/products/wpf/documentation/controls/radpdfviewer/ui/viewer-modes)
* [Thumbnail class](https://docs.telerik.com/devtools/wpf/api/telerik.windows.documents.ui.thumbnail)
