**Inheritance:**
java.lang.Object
```
public final class MetaHeader
```

Contains information about a windows-format (WMF) metafile.
## Constructors

| Constructor | Description |
| --- | --- |
| [MetaHeader()](#MetaHeader--) | Initializes a new instance of the [MetaHeader](../../com.aspose.drawing.imaging/metaheader) class |
## Methods

| Method | Description |
| --- | --- |
| [getType()](#getType--) | Gets or sets the type of the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object. |
| [setType(short value)](#setType-short-) | Gets or sets the type of the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object. |
| [getHeaderSize()](#getHeaderSize--) | Gets or sets the size, in bytes, of the header file. |
| [setHeaderSize(short value)](#setHeaderSize-short-) | Gets or sets the size, in bytes, of the header file. |
| [getVersion()](#getVersion--) | Gets or sets the version number of the header format. |
| [setVersion(short value)](#setVersion-short-) | Gets or sets the version number of the header format. |
| [getSize()](#getSize--) | Gets or sets the size, in bytes, of the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object. |
| [setSize(int value)](#setSize-int-) | Gets or sets the size, in bytes, of the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object. |
| [getNoObjects()](#getNoObjects--) | Gets or sets the maximum number of objects that exist in the [Metafile](../../com.aspose.drawing.imaging/metafile) object at the same time. |
| [setNoObjects(short value)](#setNoObjects-short-) | Gets or sets the maximum number of objects that exist in the [Metafile](../../com.aspose.drawing.imaging/metafile) object at the same time. |
| [getMaxRecord()](#getMaxRecord--) | Gets or sets the size, in bytes, of the largest record in the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object. |
| [setMaxRecord(int value)](#setMaxRecord-int-) | Gets or sets the size, in bytes, of the largest record in the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object. |
| [getNoParameters()](#getNoParameters--) | Gets or sets the maximum number of parameters in the [Metafile](../../com.aspose.drawing.imaging/metafile) object. |
| [setNoParameters(short value)](#setNoParameters-short-) | Gets or sets the maximum number of parameters in the [Metafile](../../com.aspose.drawing.imaging/metafile) object. |
### MetaHeader() {#MetaHeader--}
```
public MetaHeader()
```


Initializes a new instance of the [MetaHeader](../../com.aspose.drawing.imaging/metaheader) class

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


Gets or sets the type of the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object.

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


Gets or sets the type of the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object.

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

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


Gets or sets the size, in bytes, of the header file.

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


Gets or sets the size, in bytes, of the header file.

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

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


Gets or sets the version number of the header format.

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


Gets or sets the version number of the header format.

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

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


Gets or sets the size, in bytes, of the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object.

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


Gets or sets the size, in bytes, of the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object.

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

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


Gets or sets the maximum number of objects that exist in the [Metafile](../../com.aspose.drawing.imaging/metafile) object at the same time.

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


Gets or sets the maximum number of objects that exist in the [Metafile](../../com.aspose.drawing.imaging/metafile) object at the same time.

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

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


Gets or sets the size, in bytes, of the largest record in the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object.

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


Gets or sets the size, in bytes, of the largest record in the associated [Metafile](../../com.aspose.drawing.imaging/metafile) object.

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

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


Gets or sets the maximum number of parameters in the [Metafile](../../com.aspose.drawing.imaging/metafile) object. Not used. Always returns 0.

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


Gets or sets the maximum number of parameters in the [Metafile](../../com.aspose.drawing.imaging/metafile) object. Not used. Always returns 0.

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

