---
title: "ConvertSoftMaskAction"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/convertsoftmaskaction/"
product: "Aspose.PDF for Java API Reference"
description: "This action represents actions for conversion of images with soft mask."
---

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

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

```
public enum ConvertSoftMaskAction extends Enum < ConvertSoftMaskAction >
```

This action represents actions for conversion of images with soft mask.

## Fields

| Field | Description |
| --- | --- |
| [ConvertToStencilMask](#ConvertToStencilMask) | Soft mask will be converted into stencil mask. |
| [Default](#Default) | Use default strategy. |

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

### ConvertToStencilMask {#ConvertToStencilMask}
```
public static final ConvertSoftMaskAction ConvertToStencilMask
```

Soft mask will be converted into stencil mask.

### Default {#Default}
```
public static final ConvertSoftMaskAction Default
```

Use default strategy.

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