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

The wmf frame region object.
## Constructors

| Constructor | Description |
| --- | --- |
| [WmfFrameRegion()](#WmfFrameRegion--) | Initializes a new instance of the `WmfFillRegion` class. |
| [WmfFrameRegion(WmfGraphicObject region, WmfGraphicObject brush)](#WmfFrameRegion-com.aspose.imaging.fileformats.wmf.objects.WmfGraphicObject-com.aspose.imaging.fileformats.wmf.objects.WmfGraphicObject-) | Initializes a new instance of the `WmfFillRegion` class. |
## Methods

| Method | Description |
| --- | --- |
| [getRegionIndex()](#getRegionIndex--) | Gets or sets the index of the region. |
| [setRegionIndex(int value)](#setRegionIndex-int-) | Gets or sets the index of the region. |
| [getBrushIndex()](#getBrushIndex--) | Gets or sets the index of the brush. |
| [setBrushIndex(int value)](#setBrushIndex-int-) | Gets or sets the index of the brush. |
| [getHeight()](#getHeight--) | Gets or sets the height. |
| [setHeight(short value)](#setHeight-short-) | Gets or sets the height. |
| [getWidth()](#getWidth--) | Gets or sets the width. |
| [setWidth(short value)](#setWidth-short-) | Gets or sets the width. |
### WmfFrameRegion() {#WmfFrameRegion--}
```
public WmfFrameRegion()
```


Initializes a new instance of the `WmfFillRegion` class.

### WmfFrameRegion(WmfGraphicObject region, WmfGraphicObject brush) {#WmfFrameRegion-com.aspose.imaging.fileformats.wmf.objects.WmfGraphicObject-com.aspose.imaging.fileformats.wmf.objects.WmfGraphicObject-}
```
public WmfFrameRegion(WmfGraphicObject region, WmfGraphicObject brush)
```


Initializes a new instance of the `WmfFillRegion` class.

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

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


Gets or sets the index of the region.

Value: Index into the WMF Object Table to get the region to be filled.

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


Gets or sets the index of the region.

Value: Index into the WMF Object Table to get the region to be filled.

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

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


Gets or sets the index of the brush.

Value: Index into the WMF Object Table to get the brush to use for filling the region.

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


Gets or sets the index of the brush.

Value: Index into the WMF Object Table to get the brush to use for filling the region.

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

### getHeight() {#getHeight--}
```
public short getHeight()
```


Gets or sets the height.

Value: The height, in logical units, of the region frame.

**Returns:**
short
### setHeight(short value) {#setHeight-short-}
```
public void setHeight(short value)
```


Gets or sets the height.

Value: The height, in logical units, of the region frame.

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

### getWidth() {#getWidth--}
```
public short getWidth()
```


Gets or sets the width.

Value: The width, in logical units, of the region frame.

**Returns:**
short
### setWidth(short value) {#setWidth-short-}
```
public void setWidth(short value)
```


Gets or sets the width.

Value: The width, in logical units, of the region frame.

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

