public final class EmfEof extends EmfControlRecordType
The EMR_EOF record indicates the end of the metafile and specifies a palette.
Constructor and Description |
---|
EmfEof()
Initializes a new instance of the
EmfEof class. |
EmfEof(EmfRecord record)
Initializes a new instance of the
EmfEof class. |
Modifier and Type | Method and Description |
---|---|
int[] |
getPaletteArgb32Entries()
Gets an optional buffer that contains palette data, which is not
required to be contiguous with the fixed portion of the EMR_EOF
record.
|
int |
getSizeLast()
Gets a 32-bit unsigned integer that MUST be the same as Size and MUST be the last
field of the record and hence the metafile.
|
void |
setPaletteArgb32Entries(int[] value)
Sets an optional buffer that contains palette data, which is not
required to be contiguous with the fixed portion of the EMR_EOF
record.
|
void |
setSizeLast(int value)
Sets a 32-bit unsigned integer that MUST be the same as Size and MUST be the last
field of the record and hence the metafile.
|
public EmfEof(EmfRecord record)
Initializes a new instance of the EmfEof
class.
record
- The record.public EmfEof()
Initializes a new instance of the EmfEof
class.
public int[] getPaletteArgb32Entries()
Gets an optional buffer that contains palette data, which is not required to be contiguous with the fixed portion of the EMR_EOF record. Accordingly, fields in this buffer that are labeled "UndefinedSpace" are optional and MUST be ignored. The size of this field MUST be a multiple of 4 bytes
public void setPaletteArgb32Entries(int[] value)
Sets an optional buffer that contains palette data, which is not required to be contiguous with the fixed portion of the EMR_EOF record. Accordingly, fields in this buffer that are labeled "UndefinedSpace" are optional and MUST be ignored. The size of this field MUST be a multiple of 4 bytes
public int getSizeLast()
Gets a 32-bit unsigned integer that MUST be the same as Size and MUST be the last field of the record and hence the metafile. LogPaletteEntry objects, if they exist, MUST precede this field.
public void setSizeLast(int value)
Sets a 32-bit unsigned integer that MUST be the same as Size and MUST be the last field of the record and hence the metafile. LogPaletteEntry objects, if they exist, MUST precede this field.