# PdfXProductionMetadata

Production metadata used to reconcile a generated PDF/X document's Info dictionary and XMP packet.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[PdfXProductionMetadata.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Model/PdfXProductionMetadata.cs#L8)

**Modifiers**

sealed

Production metadata used to reconcile a generated PDF/X document's Info dictionary and XMP packet.

## Inheritance

- object
- PdfXProductionMetadata

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Property [PdfCreateOptions.PdfXProductionMetadata](/api/pdf/officeimo-pdf-pdfcreateoptions/#property-pdfxproductionmetadata)
- Method [PdfXProductionMetadata.CreateNow](/api/pdf/officeimo-pdf-pdfxproductionmetadata/#method-createnow)

### Accepted by parameters 1

- Method [PdfCreateOptions.SetPdfXProductionMetadata](/api/pdf/officeimo-pdf-pdfcreateoptions/#method-setpdfxproductionmetadata-officeimo-pdf-pdfxproductionmetadata) parameter `metadata`

Filter members 

Show inherited

## Constructors

`public PdfXProductionMetadata(DateTimeOffset creationDate, DateTimeOffset modificationDate, Guid documentId, Guid instanceId, string versionId = "1", string renditionClass = "default")` [#](#constructor-ctor-datetimeoffset-datetimeoffset-guid-guid-string-string)

[PdfXProductionMetadata.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Model/PdfXProductionMetadata.cs#L8)

Creates production metadata with explicit, reproducible document identity and timestamps.

Parameters

**creationDate System.DateTimeOffset required**

**modificationDate System.DateTimeOffset required**

**documentId System.Guid required**

**instanceId System.Guid required**

**versionId string = "1" optional**

**renditionClass string = "default" optional**

## Methods

`public static PdfXProductionMetadata CreateNow()` [#](#method-createnow)

[PdfXProductionMetadata.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Model/PdfXProductionMetadata.cs#L57)

Creates fresh PDF/X production metadata using the current UTC time and new UUIDs.

Returns

`PdfXProductionMetadata`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public DateTimeOffset CreationDate { get; }` [#](#property-creationdate)

[PdfXProductionMetadata.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Model/PdfXProductionMetadata.cs#L38)

Date and time when this PDF/X resource was created.

`public DateTimeOffset ModificationDate { get; }` [#](#property-modificationdate)

[PdfXProductionMetadata.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Model/PdfXProductionMetadata.cs#L41)

Date and time when this PDF/X resource was most recently modified.

`public Guid DocumentId { get; }` [#](#property-documentid)

[PdfXProductionMetadata.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Model/PdfXProductionMetadata.cs#L44)

Stable identity shared by versions of this PDF/X resource.

`public Guid InstanceId { get; }` [#](#property-instanceid)

[PdfXProductionMetadata.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Model/PdfXProductionMetadata.cs#L47)

Identity of this specific saved instance of the PDF/X resource.

`public string VersionId { get; }` [#](#property-versionid)

[PdfXProductionMetadata.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Model/PdfXProductionMetadata.cs#L50)

Version identifier written to xmpMM:VersionID.

`public string RenditionClass { get; }` [#](#property-renditionclass)

[PdfXProductionMetadata.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Pdf/Model/PdfXProductionMetadata.cs#L53)

Rendition class written to xmpMM:RenditionClass.

<!-- PowerForge markdown artifact sha256:A4805833C208710F5ECCD54298AF53E2ED37BE59707B3B8622183199E11074F6 -->
