---
title: "ExplicitDestinationType"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/explicitdestinationtype/"
product: "Aspose.PDF for Java API Reference"
description: "Enumerates the types of explicit destinations."
---

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

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

```
public enum ExplicitDestinationType extends Enum < ExplicitDestinationType >
```

Enumerates the types of explicit destinations.

## Fields

| Field | Description |
| --- | --- |
| [Fit](#Fit) | Display the page with its contents magnified just enough to fit the entire page within the window both horizontally and vertically. |
| [FitB](#FitB) | Display the page with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically. |
| [FitBH](#FitBH) | Display the page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of its bounding box within the window. |
| [FitBV](#FitBV) | Display the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of its bounding box within the window. |
| [FitH](#FitH) | Display the page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of the page within the window. |
| [FitR](#FitR) | Display the page with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and topentirely within the window both horizontally and vertically. |
| [FitV](#FitV) | Display the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of the page within the window. |
| [XYZ](#XYZ) | Display the page with the coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom. |

## 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. |

### Fit {#Fit}
```
public static final ExplicitDestinationType Fit
```

Display the page with its contents magnified just enough to fit the entire page within the window both horizontally and vertically.

### FitB {#FitB}
```
public static final ExplicitDestinationType FitB
```

Display the page with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically.

### FitBH {#FitBH}
```
public static final ExplicitDestinationType FitBH
```

Display the page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of its bounding box within the window.

### FitBV {#FitBV}
```
public static final ExplicitDestinationType FitBV
```

Display the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of its bounding box within the window.

### FitH {#FitH}
```
public static final ExplicitDestinationType FitH
```

Display the page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of the page within the window.

### FitR {#FitR}
```
public static final ExplicitDestinationType FitR
```

Display the page with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and topentirely within the window both horizontally and vertically.

### FitV {#FitV}
```
public static final ExplicitDestinationType FitV
```

Display the page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of the page within the window.

### XYZ {#XYZ}
```
public static final ExplicitDestinationType XYZ
```

Display the page with the coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom.

### getByValue {#getByValue-int-}
```
public static ExplicitDestinationType 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 ExplicitDestinationType [] 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
