---
title: "ImageMergeMode"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf.facades/imagemergemode/"
product: "Aspose.PDF for Java API Reference"
description: "Represents modes for merging images."
---

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

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

```
public enum ImageMergeMode extends Enum < ImageMergeMode >
```

Represents modes for merging images.

## Fields

| Field | Description |
| --- | --- |
| [Center](#Center) | Images aligned by center. |
| [Horizontal](#Horizontal) | Images merged horizontally. |
| [Vertical](#Vertical) | Images merged vertically. |

## Methods

| Method | Description |
| --- | --- |
| [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. |

### Center {#Center}
```
public static final ImageMergeMode Center
```

Images aligned by center.

### Horizontal {#Horizontal}
```
public static final ImageMergeMode Horizontal
```

Images merged horizontally.

### Vertical {#Vertical}
```
public static final ImageMergeMode Vertical
```

Images merged vertically.

### 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 ImageMergeMode [] 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
