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 or sets an array of 32-bit ARGB color and
usage of each entry in the logical_palette.
|
byte[] |
getPaletteBuffer()
Gets or sets 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 or 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.
|
void |
setPaletteArgb32Entries(int[] value)
Gets or sets an array of 32-bit ARGB color and
usage of each entry in the logical_palette.
|
void |
setPaletteBuffer(byte[] value)
Gets or 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)
Gets or 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 byte[] getPaletteBuffer()
Gets or 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 void setPaletteBuffer(byte[] value)
Gets or 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[] getPaletteArgb32Entries()
Gets or sets an array of 32-bit ARGB color and usage of each entry in the logical_palette.
public void setPaletteArgb32Entries(int[] value)
Gets or sets an array of 32-bit ARGB color and usage of each entry in the logical_palette.
public int getSizeLast()
Gets or 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.
public void setSizeLast(int value)
Gets or 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.
Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.