MetaHeader
Inheritance: java.lang.Object
public final class MetaHeader
Contains information about a windows-format (WMF) metafile.
Constructors
| Constructor | Description |
|---|---|
| MetaHeader() | Initializes a new instance of the MetaHeader class |
Methods
| Method | Description |
|---|---|
| getType() | Gets or sets the type of the associated Metafile object. |
| setType(short value) | Gets or sets the type of the associated Metafile object. |
| getHeaderSize() | Gets or sets the size, in bytes, of the header file. |
| setHeaderSize(short value) | Gets or sets the size, in bytes, of the header file. |
| getVersion() | Gets or sets the version number of the header format. |
| setVersion(short value) | Gets or sets the version number of the header format. |
| getSize() | Gets or sets the size, in bytes, of the associated Metafile object. |
| setSize(int value) | Gets or sets the size, in bytes, of the associated Metafile object. |
| getNoObjects() | Gets or sets the maximum number of objects that exist in the Metafile object at the same time. |
| setNoObjects(short value) | Gets or sets the maximum number of objects that exist in the Metafile object at the same time. |
| getMaxRecord() | Gets or sets the size, in bytes, of the largest record in the associated Metafile object. |
| setMaxRecord(int value) | Gets or sets the size, in bytes, of the largest record in the associated Metafile object. |
| getNoParameters() | Gets or sets the maximum number of parameters in the Metafile object. |
| setNoParameters(short value) | Gets or sets the maximum number of parameters in the Metafile object. |
MetaHeader()
public MetaHeader()
Initializes a new instance of the MetaHeader class
getType()
public short getType()
Gets or sets the type of the associated Metafile object.
Returns: short
setType(short value)
public void setType(short value)
Gets or sets the type of the associated Metafile object.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short |
getHeaderSize()
public short getHeaderSize()
Gets or sets the size, in bytes, of the header file.
Returns: short
setHeaderSize(short value)
public void setHeaderSize(short value)
Gets or sets the size, in bytes, of the header file.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short |
getVersion()
public short getVersion()
Gets or sets the version number of the header format.
Returns: short
setVersion(short value)
public void setVersion(short value)
Gets or sets the version number of the header format.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short |
getSize()
public int getSize()
Gets or sets the size, in bytes, of the associated Metafile object.
Returns: int
setSize(int value)
public void setSize(int value)
Gets or sets the size, in bytes, of the associated Metafile object.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getNoObjects()
public short getNoObjects()
Gets or sets the maximum number of objects that exist in the Metafile object at the same time.
Returns: short
setNoObjects(short value)
public void setNoObjects(short value)
Gets or sets the maximum number of objects that exist in the Metafile object at the same time.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short |
getMaxRecord()
public int getMaxRecord()
Gets or sets the size, in bytes, of the largest record in the associated Metafile object.
Returns: int
setMaxRecord(int value)
public void setMaxRecord(int value)
Gets or sets the size, in bytes, of the largest record in the associated Metafile object.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getNoParameters()
public short getNoParameters()
Gets or sets the maximum number of parameters in the Metafile object. Not used. Always returns 0.
Returns: short
setNoParameters(short value)
public void setNoParameters(short value)
Gets or sets the maximum number of parameters in the Metafile object. Not used. Always returns 0.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short |