**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.emf.MetaObject](../../com.aspose.imaging.fileformats.emf/metaobject), [com.aspose.imaging.fileformats.wmf.objects.WmfObject](../../com.aspose.imaging.fileformats.wmf.objects/wmfobject)
```
public class WmfDeleteObject extends WmfObject
```

The Delete object
## Constructors

| Constructor | Description |
| --- | --- |
| [WmfDeleteObject(WmfGraphicObject deletedObject)](#WmfDeleteObject-com.aspose.imaging.fileformats.wmf.objects.WmfGraphicObject-) | Initializes a new instance of the `WmfDeleteObject` class. |
| [WmfDeleteObject()](#WmfDeleteObject--) | Initializes a new instance of the `WmfDeleteObject` class. |
## Methods

| Method | Description |
| --- | --- |
| [getObjectIndex()](#getObjectIndex--) | Gets or sets the index of the object. |
| [setObjectIndex(int value)](#setObjectIndex-int-) | Gets or sets the index of the object. |
### WmfDeleteObject(WmfGraphicObject deletedObject) {#WmfDeleteObject-com.aspose.imaging.fileformats.wmf.objects.WmfGraphicObject-}
```
public WmfDeleteObject(WmfGraphicObject deletedObject)
```


Initializes a new instance of the `WmfDeleteObject` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| deletedObject | [WmfGraphicObject](../../com.aspose.imaging.fileformats.wmf.objects/wmfgraphicobject) | The deleted object. |

### WmfDeleteObject() {#WmfDeleteObject--}
```
public WmfDeleteObject()
```


Initializes a new instance of the `WmfDeleteObject` class.

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


Gets or sets the index of the object.

Value: The index of the object.

**Returns:**
int
### setObjectIndex(int value) {#setObjectIndex-int-}
```
public void setObjectIndex(int value)
```


Gets or sets the index of the object.

Value: The index of the object.

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

