# PageImageParams Class

> Used to manage converting a PDF page to an image.

- Product: Adobe PDF Library 18
- Language: .NET
- Version: APDFL18.0.5PlusP2e
- HTML page: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/PageImageParams
- Version index: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/llms.txt

```csharp
class PageImageParams : SystemIDisposable
```

**Namespace:** `Datalogics::PDFL`

**Inherits from:** `SystemIDisposable`

## Description

Used to manage converting a PDF page to an image.

The Page Image Parameters are a set of parameters used to control converting a PDF page to an image, such as a PNG, JPG, or BMP. The parameters include pixel height & width, color space, resolution, so on.

**Referenced by:** [`Page`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/Page.md), [`PageImageParams`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/PageImageParams.md)

**Uses types:** [`ColorProfile`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/enum/ColorProfile.md), [`ColorSpace`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/ColorSpace.md), [`DrawFlags`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/enum/DrawFlags.md), [`PageImageParams`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/PageImageParams.md), [`RenderIntent`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/enum/RenderIntent.md), [`SmoothFlags`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/enum/SmoothFlags.md)

## Constructors

### PageImageParams

```csharp
Datalogics.PDFL.PageImageParams.PageImageParams()
```

*constructor*

Construct default PageImageParams.

Initializes with DeviceRGB color space, no smoothing, zero pixel dimensions, 300 dpi resolution, relative colorimetric render intent, and black point compensation enabled.

### PageImageParams

```csharp
Datalogics.PDFL.PageImageParams.PageImageParams(ColorSpace ColorSpace, SmoothFlags Smoothing, int PixelWidth, int PixelHeight, double HorizontalResolution, double VerticalResolution, DrawFlags PageDrawFlags)
```

*constructor*

**Parameters**

- `ColorSpace` ([`ColorSpace`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/ColorSpace.md)): The desired color space for the image, DEVICERGB, DEVICECMYK or DEVICEGRAY only.
- `Smoothing` ([`SmoothFlags`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/enum/SmoothFlags.md)): Indicates what parts of PDF Page (text, image, art, none) are to be smoothed in rendering to an image. Note these flags can be or'd together
- `PixelWidth` (`int`): The desired witdth in pixels of the output image.
- `PixelHeight` (`int`): The desired height in pixels of the output image.
- `HorizontalResolution` (`double`): The desired horizontal resolution in pixels/inch of the output image. If you pass in 0.0, 300.0 dpi is used.
- `VerticalResolution` (`double`): The desired vertical resolution in pixels/inch of the output image. If you pass in 0.0, 300.0 dpi is used.
- `PageDrawFlags` ([`DrawFlags`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/enum/DrawFlags.md)): An OR of the flags from DrawFlags which control how the PDF page is to be drawn.

Set up the parameters for rendering a PDF page to an image.

Horizontal and Vertical Resolution have to be either both zero or both non-zero.

## Properties

### BlackPointCompensation

```csharp
bool Datalogics.PDFL.PageImageParams.BlackPointCompensation { get; set; }
```

### BypassCopyPerm

```csharp
bool Datalogics.PDFL.PageImageParams.BypassCopyPerm { get; set; }
```

### CalibrateDeviceSpacesWhenPrinting

```csharp
bool Datalogics.PDFL.PageImageParams.CalibrateDeviceSpacesWhenPrinting { get; set; }
```

### HorizontalResolution

```csharp
double Datalogics.PDFL.PageImageParams.HorizontalResolution { get; set; }
```

### ICCProfile

```csharp
ColorProfile Datalogics.PDFL.PageImageParams.ICCProfile { get; set; }
```

### ICCProfileCustomPath

```csharp
string Datalogics.PDFL.PageImageParams.ICCProfileCustomPath { get; set; }
```

### ImageColorSpace

```csharp
ColorSpace Datalogics.PDFL.PageImageParams.ImageColorSpace { get; set; }
```

### PageDrawFlags

```csharp
DrawFlags Datalogics.PDFL.PageImageParams.PageDrawFlags { get; set; }
```

### PixelHeight

```csharp
int Datalogics.PDFL.PageImageParams.PixelHeight { get; set; }
```

### PixelWidth

```csharp
int Datalogics.PDFL.PageImageParams.PixelWidth { get; set; }
```

### RenderIntent

```csharp
RenderIntent Datalogics.PDFL.PageImageParams.RenderIntent { get; set; }
```

### Smoothing

```csharp
SmoothFlags Datalogics.PDFL.PageImageParams.Smoothing { get; set; }
```

### ThinLineHeuristics

```csharp
bool Datalogics.PDFL.PageImageParams.ThinLineHeuristics { get; set; }
```

### UseDeviceNForImageSeparations

```csharp
bool Datalogics.PDFL.PageImageParams.UseDeviceNForImageSeparations { get; set; }
```

### VerticalResolution

```csharp
double Datalogics.PDFL.PageImageParams.VerticalResolution { get; set; }
```

## Methods

### Dispose

```csharp
void Datalogics.PDFL.PageImageParams.Dispose()
```

**Returns:** `void`
