# OfficeToPDFConvertParams Class

> The settings for one Office-to-PDF conversion: the instant stamped as the PDF's creation date and used for the document's DATE and TIME fields (the system clock unless one is set), and how the document's Word comments appear (left out…

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

```csharp
class OfficeToPDFConvertParams : SystemIDisposable
```

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

**Inherits from:** `SystemIDisposable`

## Description

The settings for one Office-to-PDF conversion: the instant stamped as the PDF's creation date and used for the document's DATE and TIME fields (the system clock unless one is set), and how the document's Word comments appear (left out unless set). One object serves any number of conversions, and building or setting one never throws, on any platform.

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

**Uses types:** [`OfficeCommentRendering`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1f/enum/OfficeCommentRendering.md)

## Constructors

### OfficeToPDFConvertParams

```csharp
Datalogics.PDFL.OfficeToPDFConvertParams.OfficeToPDFConvertParams()
```

*constructor*

### OfficeToPDFConvertParams

```csharp
Datalogics.PDFL.OfficeToPDFConvertParams.OfficeToPDFConvertParams(OfficeToPDFConvertParams other)
```

*constructor*

**Parameters**

- `other` ([`OfficeToPDFConvertParams`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1f/class/OfficeToPDFConvertParams.md))

## Properties

### Comments

```csharp
OfficeCommentRendering Datalogics.PDFL.OfficeToPDFConvertParams.Comments { get; set; }
```

### ConversionDay

```csharp
int Datalogics.PDFL.OfficeToPDFConvertParams.ConversionDay { get; }
```

0 when no time is set

### ConversionHour

```csharp
int Datalogics.PDFL.OfficeToPDFConvertParams.ConversionHour { get; }
```

0 when no time is set

### ConversionMinute

```csharp
int Datalogics.PDFL.OfficeToPDFConvertParams.ConversionMinute { get; }
```

0 when no time is set

### ConversionMonth

```csharp
int Datalogics.PDFL.OfficeToPDFConvertParams.ConversionMonth { get; }
```

0 when no time is set

### ConversionSecond

```csharp
int Datalogics.PDFL.OfficeToPDFConvertParams.ConversionSecond { get; }
```

0 when no time is set

### ConversionYear

```csharp
int Datalogics.PDFL.OfficeToPDFConvertParams.ConversionYear { get; }
```

0 when no time is set

## Methods

### ClearConversionTime

```csharp
void Datalogics.PDFL.OfficeToPDFConvertParams.ClearConversionTime()
```

**Returns:** `void`

Go back to the system clock, the default.

### Dispose

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

**Returns:** `void`

### HasConversionTime

```csharp
bool Datalogics.PDFL.OfficeToPDFConvertParams.HasConversionTime()
```

**Returns:** `bool`

### SetConversionTime

```csharp
void Datalogics.PDFL.OfficeToPDFConvertParams.SetConversionTime(int year, int month, int day, int hour, int minute, int second)
```

**Parameters**

- `year` (`int`)
- `month` (`int`)
- `day` (`int`)
- `hour` (`int`)
- `minute` (`int`)
- `second` (`int`)

**Returns:** `void`

Use this instant, with no time zone, in place of the system clock.
