EmfHeaderObject

Inheritance: java.lang.Object, com.aspose.barcode.drawing.emf.objects.XmfObject

public class EmfHeaderObject extends XmfObject

2.2.9 Header Object The Header object defines the EMF metafile header.It specifies properties of the device on which the image in the metafile was created.

Constructors

Constructor Description
EmfHeaderObject()

Fields

Field Description
Bounds A WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the rectangular inclusive-inclusive bounds in device units of the smallest rectangle that can be drawn around the image stored in the metafile
Bytes 32-bit unsigned integer that specifies the size of the metafile, in bytes.
Device A WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the size of the reference device, in pixels
Frame A WMF RectL object that specifies the rectangular inclusive-inclusive dimensions, in .01 millimeter units, of a rectangle that surrounds the image stored in the metafile
Handles A 16-bit unsigned integer that specifies the number of graphics objects that will be used during the processing of the metafile
Millimeters A WMF SizeL object that specifies the size of the reference device, in millimeters
NDesription A 32-bit unsigned integer that specifies the number of characters in the array that contains the description of the metafile’s contents.
NPalEntries A 32-bit unsigned integer that specifies the number of entries in the metafile palette.
OffDescription A 32-bit unsigned integer that specifies the offset from the beginning of this record to the array that contains the description of the metafile’s contents
RecordSignature A 32-bit unsigned integer that specifies the record signature.
Records A 32-bit unsigned integer that specifies the number of records in the metafile
Reserved A 16-bit unsigned integer that MUST be 0x0000 and MUST be ignored
Version Version (4 bytes): A 32-bit unsigned integer that specifies EMF metafile interoperability.

Methods

Method Description
equals(Object arg0)
getClass()
getSize()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

EmfHeaderObject()

public EmfHeaderObject()

Bounds

public WmfRectL Bounds

A WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the rectangular inclusive-inclusive bounds in device units of the smallest rectangle that can be drawn around the image stored in the metafile

Bytes

public long Bytes

32-bit unsigned integer that specifies the size of the metafile, in bytes.

Device

public WmfSizeL Device

A WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the size of the reference device, in pixels

Frame

public WmfRectL Frame

A WMF RectL object that specifies the rectangular inclusive-inclusive dimensions, in .01 millimeter units, of a rectangle that surrounds the image stored in the metafile

Handles

public int Handles

A 16-bit unsigned integer that specifies the number of graphics objects that will be used during the processing of the metafile

Millimeters

public WmfSizeL Millimeters

A WMF SizeL object that specifies the size of the reference device, in millimeters

NDesription

public long NDesription

A 32-bit unsigned integer that specifies the number of characters in the array that contains the description of the metafile’s contents. This is zero if there is no description string.

NPalEntries

public long NPalEntries

A 32-bit unsigned integer that specifies the number of entries in the metafile palette. The palette is located in the EMR_EOF record

OffDescription

public long OffDescription

A 32-bit unsigned integer that specifies the offset from the beginning of this record to the array that contains the description of the metafile’s contents

RecordSignature

public long RecordSignature

A 32-bit unsigned integer that specifies the record signature. This MUST be ENHMETA_SIGNATURE, from the FormatSignature enumeration (section 2.1.14).

Records

public long Records

A 32-bit unsigned integer that specifies the number of records in the metafile

Reserved

public int Reserved

A 16-bit unsigned integer that MUST be 0x0000 and MUST be ignored

Version

public long Version

Version (4 bytes): A 32-bit unsigned integer that specifies EMF metafile interoperability. This SHOULD be 0x00010000

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getSize()

public int getSize()

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int