**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 WmfSelectObject extends WmfObject
```

The select object.
## Constructors

| Constructor | Description |
| --- | --- |
| [WmfSelectObject(WmfGraphicObject wmfObject)](#WmfSelectObject-com.aspose.imaging.fileformats.wmf.objects.WmfGraphicObject-) | Initializes a new instance of the `WmfSelectObject` class. |
| [WmfSelectObject()](#WmfSelectObject--) | Initializes a new instance of the `WmfSelectObject` 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. |
### WmfSelectObject(WmfGraphicObject wmfObject) {#WmfSelectObject-com.aspose.imaging.fileformats.wmf.objects.WmfGraphicObject-}
```
public WmfSelectObject(WmfGraphicObject wmfObject)
```


Initializes a new instance of the `WmfSelectObject` class.

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

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


Initializes a new instance of the `WmfSelectObject` 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 |  |

