# PDFXConvertResult Class

> Contains a PDF document if the conversion is successful; returns null if the conversion fails.

- Product: Adobe PDF Library 21
- Language: .NET Framework
- Version: APDFL21.0.0PlusP1e
- HTML page: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/PDFXConvertResult
- Version index: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/llms.txt

```csharp
class PDFXConvertResult
```

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

## Description

Contains a PDF document if the conversion is successful; returns null if the conversion fails.

PDF/X is a subset of the PDF ISO standard. The purpose of PDF/X is to facilitate graphics exchange, and it therefore has a series of printing related requirements. For example, in PDF/X-1a all fonts need to be embedded and all images need to be CMYK or spot colors. PDF/X-3 accepts calibrated RGB and CIELAB colors.

**Referenced by:** [`Document`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Document.md)

**Uses types:** [`Document`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Document.md), [`SaveFlags`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/SaveFlags.md)

## Constructors

### PDFXConvertResult

```csharp
Datalogics.PDFL.PDFXConvertResult.PDFXConvertResult(Document doc, SaveFlags flags)
```

*constructor*

**Parameters**

- `doc` ([`Document`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Document.md))
- `flags` ([`SaveFlags`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/SaveFlags.md))

## Properties

### PDFXDocument

```csharp
Document Datalogics.PDFL.PDFXConvertResult.PDFXDocument { get; set; }
```

Return the PDF/X compliant version of the document.

### PDFXSaveFlags

```csharp
SaveFlags Datalogics.PDFL.PDFXConvertResult.PDFXSaveFlags { get; set; }
```

Return the SaveFlags that must be used when saving the PDF/X compliant document.

You *must* use these SaveFlags when saving the PDF/X document, or you risk breaking PDF/X compliance.
