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

The Wmf Record
## Constructors

| Constructor | Description |
| --- | --- |
| [WmfRecord()](#WmfRecord--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getSize()](#getSize--) | Gets or sets the size. |
| [setSize(long value)](#setSize-long-) | Gets or sets the size. |
| [getRecordType()](#getRecordType--) | `RecordType` number (defined in WINDOWS.H) |
| [setRecordType(short value)](#setRecordType-short-) | `RecordType` number (defined in WINDOWS.H) |
### WmfRecord() {#WmfRecord--}
```
public WmfRecord()
```


### getSize() {#getSize--}
```
public long getSize()
```


Gets or sets the size.

Value: The size.

**Returns:**
long
### setSize(long value) {#setSize-long-}
```
public void setSize(long value)
```


Gets or sets the size.

Value: The size.

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

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


`RecordType` number (defined in WINDOWS.H)

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


`RecordType` number (defined in WINDOWS.H)

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

