# Export PDF Page As Image

> `UiPath.PDF.Activities.PDF.ExportPDFPageAsImage`

`UiPath.PDF.Activities.PDF.ExportPDFPageAsImage`

## Description

Creates an image from a page in a specified PDF file.

## Project compatibility

**Windows-Legacy | Windows**

## Configuration

#### Designer panel

* **FileName** - The name of the PDF file you want to export as an image. This field supports only strings and `String` variables.
* **OutputFileName** - The name of the image file that is generated from the PDF file. This field supports only strings and `String` variables.
  :::note
  The file name used in the **OutputFileName** property must end in a valid image extension. The supported extensions are `.png`, `.jpeg`, `.tiff`, `.bmp`, and `.gif`.
  :::

#### Properties panel

**Common**
* **DisplayName** - The display name of the activity.

**File**
* **FileName** - The name of the PDF file you want to export as an image. This field supports only strings and `String` variables.
* **OutputFileName** - The name of the image file that is generated from the PDF file. This field supports only strings and `String` variables.
  :::note
  The file name used in the **OutputFileName** property must end in a valid image extension. The supported extensions are `.png`, `.jpeg`, `.tiff`, `.bmp`, and `.gif`.
  :::
* **Password** - The password of the PDF file, if necessary. This field supports only strings and `String` variables.

**Input**
* **ImageDpi** - The DPI used for the OCR process. By default, this field is set to `150`.
* **PageNumber** - The number of the page you want to extract from the PDF file. This field supports only `Int32` variables.

**Misc**
* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.
