**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.emf.MetaObject](../../com.aspose.imaging.fileformats.emf/metaobject), [com.aspose.imaging.fileformats.emf.emf.records.EmfRecord](../../com.aspose.imaging.fileformats.emf.emf.records/emfrecord), [com.aspose.imaging.fileformats.emf.emf.records.EmfStateRecordType](../../com.aspose.imaging.fileformats.emf.emf.records/emfstaterecordtype)
```
public final class EmfSetWindowExtEx extends EmfStateRecordType
```

The EMR\_SETWINDOWEXTEX record defines the window extent.
## Constructors

| Constructor | Description |
| --- | --- |
| [EmfSetWindowExtEx(EmfRecord source)](#EmfSetWindowExtEx-com.aspose.imaging.fileformats.emf.emf.records.EmfRecord-) | Initializes a new instance of the `EmfSetWindowExtEx` class. |
| [EmfSetWindowExtEx()](#EmfSetWindowExtEx--) | Initializes a new instance of the `EmfSetWindowExtEx` class. |
## Methods

| Method | Description |
| --- | --- |
| [getExtent()](#getExtent--) | Gets or sets a 64-bit WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the horizontal and vertical extents in logical units. |
| [setExtent(Size value)](#setExtent-com.aspose.imaging.Size-) | Gets or sets a 64-bit WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the horizontal and vertical extents in logical units. |
### EmfSetWindowExtEx(EmfRecord source) {#EmfSetWindowExtEx-com.aspose.imaging.fileformats.emf.emf.records.EmfRecord-}
```
public EmfSetWindowExtEx(EmfRecord source)
```


Initializes a new instance of the `EmfSetWindowExtEx` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| source | [EmfRecord](../../com.aspose.imaging.fileformats.emf.emf.records/emfrecord) | The source. |

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


Initializes a new instance of the `EmfSetWindowExtEx` class.

### getExtent() {#getExtent--}
```
public Size getExtent()
```


Gets or sets a 64-bit WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the horizontal and vertical extents in logical units.

**Returns:**
[Size](../../com.aspose.imaging/size)
### setExtent(Size value) {#setExtent-com.aspose.imaging.Size-}
```
public void setExtent(Size value)
```


Gets or sets a 64-bit WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the horizontal and vertical extents in logical units.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Size](../../com.aspose.imaging/size) |  |

