## Validate(string, PdfFormat) {#validate_2}

Validate document into the specified file.

```csharp
public bool Validate(string outputLogFileName, PdfFormat format)
```

| Parameter | Type | Description |
| --- | --- | --- |
| outputLogFileName | String | Path to file where the comments will be stored. |
| format | PdfFormat | The pdf format. |

### Return Value

The operation result

### See Also

* enum [PdfFormat](../../pdfformat/)
* class [Document](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)

---

## Validate(Stream, PdfFormat) {#validate_1}

Validate document into the specified file.

```csharp
public bool Validate(Stream outputLogStream, PdfFormat format)
```

| Parameter | Type | Description |
| --- | --- | --- |
| outputLogStream | Stream | Stream where the comments will be stored. |
| format | PdfFormat | The pdf format. |

### Return Value

The operation result

### See Also

* enum [PdfFormat](../../pdfformat/)
* class [Document](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)

---

## Validate(PdfFormatConversionOptions) {#validate}

Validate document into the specified file.

```csharp
public bool Validate(PdfFormatConversionOptions options)
```

| Parameter | Type | Description |
| --- | --- | --- |
| options | PdfFormatConversionOptions | set of options for convert PDF document |

### Return Value

The operation result

### See Also

* class [PdfFormatConversionOptions](../../pdfformatconversionoptions/)
* class [Document](../)
* namespace [Aspose.Pdf](../../../aspose.pdf/)
* assembly [Aspose.PDF](../../../)


