# PDFAConvertParams Class

> Parameters for converting a document to PDF/A compliance.

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

```csharp
class PDFAConvertParams : SystemIDisposable
```

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

**Inherits from:** `SystemIDisposable`

## Description

Parameters for converting a document to PDF/A compliance.

These parameters control how a Document is converted to the PDF/A standard.

`RemoveAllAnnotations` if true, will remove all Annotations and Actions from the output
`IgnoreFontErrors` if true, will try to rasterize the page when fonts cannot be embedded
`AbortIfXFAIsPresent` if true, will abort conversion process if XFA form entry is detected
`NoValidationErrors` if true, will ignore validation errors
`RasterizationResolution` rasterization resolution; if 0, use 72 DPI
`ValidateImplementationLimitsOfDocument` Validate PDF Implementation Limits of the Document.

PDF/A is an ISO-standard version the PDF format. It is designed to be used with PDF files that need to be archived and stored for long periods. For example, the fonts in a PDF/A file are embedded in the file itself, rather than accessed through a link to a font directory on a local server.

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

**Uses types:** [`PDFAConvertParams`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/PDFAConvertParams.md)

## Constructors

### PDFAConvertParams

```csharp
Datalogics.PDFL.PDFAConvertParams.PDFAConvertParams()
```

*constructor*

Default constructor for PDFAConvertParams.

Initializes with RemoveAllAnnotations = false, IgnoreFontErrors = true, AbortIfXFAIsPresent = false, NoValidationErrors = false, RasterizationResolution = 72, and ValidateImplementationLimitsOfDocument = true.

### PDFAConvertParams

```csharp
Datalogics.PDFL.PDFAConvertParams.PDFAConvertParams(bool RemoveAllAnnotations, bool IgnoreFontErrors, bool AbortIfXFAIsPresent)
```

*constructor*

**Parameters**

- `RemoveAllAnnotations` (`bool`): Remove all annotations whether legal or illegal.
- `IgnoreFontErrors` (`bool`): Rasterize a page when fonts cannot be embedded.
- `AbortIfXFAIsPresent` (`bool`): Abort when XFA is present for PDF/A-1.

Parameters for converting to PDF/A.

### PDFAConvertParams

```csharp
Datalogics.PDFL.PDFAConvertParams.PDFAConvertParams(bool removeAllAnnotations, bool ignoreFontErrors, bool abortIfXFAIsPresent, bool noValidationErrors, ushort rasterizationResolution)
```

*constructor*

**Parameters**

- `removeAllAnnotations` (`bool`): Remove all annotations whether legal or illegal.
- `ignoreFontErrors` (`bool`): Rasterize a page when fonts cannot be embedded.
- `abortIfXFAIsPresent` (`bool`): Abort when XFA is present for PDF/A-1.
- `noValidationErrors` (`bool`): Ignore validation errors.
- `rasterizationResolution` (`ushort`): Rasterization resolution.

Parameters for converting to PDF/A.

### PDFAConvertParams

```csharp
Datalogics.PDFL.PDFAConvertParams.PDFAConvertParams(bool removeAllAnnotations, bool ignoreFontErrors, bool abortIfXFAIsPresent, bool noValidationErrors, ushort rasterizationResolution, bool validateImplementationLimitsOfDocument)
```

*constructor*

**Parameters**

- `removeAllAnnotations` (`bool`): Remove all annotations whether legal or illegal.
- `ignoreFontErrors` (`bool`): Rasterize a page when fonts cannot be embedded.
- `abortIfXFAIsPresent` (`bool`): Abort when XFA is present for PDF/A-1.
- `noValidationErrors` (`bool`): Ignore validation errors.
- `rasterizationResolution` (`ushort`): Rasterization resolution.
- `validateImplementationLimitsOfDocument` (`bool`): Validate PDF Implementation Limits of the Document.

Parameters for converting to PDF/A.

## Properties

### AbortIfXFAIsPresent

```csharp
bool Datalogics.PDFL.PDFAConvertParams.AbortIfXFAIsPresent { get; set; }
```

### IgnoreFontErrors

```csharp
bool Datalogics.PDFL.PDFAConvertParams.IgnoreFontErrors { get; set; }
```

### NoValidationErrors

```csharp
bool Datalogics.PDFL.PDFAConvertParams.NoValidationErrors { get; set; }
```

### ProfileDesc

```csharp
string Datalogics.PDFL.PDFAConvertParams.ProfileDesc { get; set; }
```

### RasterizationResolution

```csharp
ushort Datalogics.PDFL.PDFAConvertParams.RasterizationResolution { get; set; }
```

### RemoveAllAnnotations

```csharp
bool Datalogics.PDFL.PDFAConvertParams.RemoveAllAnnotations { get; set; }
```

### ValidateImplementationLimitsOfDocument

```csharp
bool Datalogics.PDFL.PDFAConvertParams.ValidateImplementationLimitsOfDocument { get; set; }
```

## Methods

### Dispose

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

**Returns:** `void`
