# PDFReadingParameter

The `PDFReadingParameter` class represents the parameters for reading a PDF file. It contains the mode of PDF reading, the DPI (dots per inch) value, and the raster data source type.

## Definition

*Package:* `com.dynamsoft.core.basic_structures`

```java
class PDFReadingParameter
```

## Attributes
  
| Attribute  | Type | Description |
|---------- | ---- |-------------|
| [`mode`](#mode) | *int* | The mode used for PDF reading. This is one of the values of the [EnumPDFReadingMode](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/enum-pdf-reading-mode.md) enumeration. |
| [`dpi`](#dpi) | *int* | The DPI (dots per inch) value. |
| [`rasterDataSource`](#rasterdatasource) | *int* | The raster data source type. This is one of the values of the [EnumRasterDataSource](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/enum-raster-data-source.md) enumeration. |

## Constructors
  
| Constructor | Description |
|---------- | ---- |
| [`PDFReadingParameter()`](#pdfreadingparameter) | Initializes a new instance of the `PDFReadingParameter` class. |

## Attributes

### mode

The mode used for PDF reading. Defaults to `PDFRM_MULTIMODAL`.

```java
public @EnumPDFReadingMode int mode
```

### dpi

The DPI (dots per inch) value.

```java
public int dpi
```

### rasterDataSource

The raster data source type.

```java
public @EnumRasterDataSource int rasterDataSource
```

## Constructors

### PDFReadingParameter

Initializes a new instance of the `PDFReadingParameter` class.

```java
PDFReadingParameter()
```

**Remarks**

This constructor initializes the attributes with default values:
- `mode`: `EnumPDFReadingMode.PDFRM_RASTER`
- `dpi`: 300
- `rasterDataSource`: `EnumRasterDataSource.RDS_RASTERIZED_PAGES`

