---
title: "PdfVersion"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/pdfversion/"
product: "Aspose.PDF for Java API Reference"
description: "This enum represents version of pdf file."
---

**Inheritance:**
java.lang.Object, java.lang.Enum < PdfVersion > com.aspose.pdf.PdfVersion, java.lang.Enum < PdfVersion >, com.aspose.pdf.PdfVersion

**All Implemented Interfaces:**
Serializable, Comparable < PdfVersion >

```
public enum PdfVersion extends Enum < PdfVersion >
```

This enum represents version of pdf file.

## Fields

| Field | Description |
| --- | --- |
| [v_1_0](#v_1_0) | Adobe version 1.0 |
| [v_1_1](#v_1_1) | Adobe version 1.1 |
| [v_1_2](#v_1_2) | Adobe version 1.2 |
| [v_1_3](#v_1_3) | Adobe version 1.3 |
| [v_1_4](#v_1_4) | Adobe version 1.4 |
| [v_1_5](#v_1_5) | Adobe version 1.5 |
| [v_1_6](#v_1_6) | Adobe version 1.6 |
| [v_1_7](#v_1_7) | Adobe version 1.7 |
| [v_2_0](#v_2_0) | ISO Standard PDF 2.0 |

## Methods

| Method | Description |
| --- | --- |
| [getByValue](#getByValue-int-) |  |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### v_1_0 {#v_1_0}
```
public static final PdfVersion v_1_0
```

Adobe version 1.0

### v_1_1 {#v_1_1}
```
public static final PdfVersion v_1_1
```

Adobe version 1.1

### v_1_2 {#v_1_2}
```
public static final PdfVersion v_1_2
```

Adobe version 1.2

### v_1_3 {#v_1_3}
```
public static final PdfVersion v_1_3
```

Adobe version 1.3

### v_1_4 {#v_1_4}
```
public static final PdfVersion v_1_4
```

Adobe version 1.4

### v_1_5 {#v_1_5}
```
public static final PdfVersion v_1_5
```

Adobe version 1.5

### v_1_6 {#v_1_6}
```
public static final PdfVersion v_1_6
```

Adobe version 1.6

### v_1_7 {#v_1_7}
```
public static final PdfVersion v_1_7
```

Adobe version 1.7

### v_2_0 {#v_2_0}
```
public static final PdfVersion v_2_0
```

ISO Standard PDF 2.0

### getByValue {#getByValue-int-}
```
public static PdfVersion getByValue(int value)
```



**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  |  |

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static PdfVersion [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
