public class EmfEof extends EmfControlRecordType
The EMR_EOF record indicates the end of the metafile and specifies a palette.
Constructor and Description |
---|
EmfEof(EmfRecord record)
Initializes a new instance of the
EmfEof class. |
Modifier and Type | Method and Description |
---|---|
int |
getNPalEntries()
Gets or sets a 32-bit unsigned integer that specifies the number of palette entries.
|
int |
getOffPalEntries()
Gets or sets a 32-bit unsigned integer that specifies the offset to the palette
entries from the start of this record.
|
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 |
setNPalEntries(int value)
Gets or sets a 32-bit unsigned integer that specifies the number of palette entries.
|
void |
setOffPalEntries(int value)
Gets or sets a 32-bit unsigned integer that specifies the offset to the palette
entries from the start of this record.
|
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.
|
getSize, getType, setSize, setType
deepClone_internalized
public EmfEof(EmfRecord record)
Initializes a new instance of the EmfEof
class.
record
- The record.public int getNPalEntries()
Gets or sets a 32-bit unsigned integer that specifies the number of palette entries.
public void setNPalEntries(int value)
Gets or sets a 32-bit unsigned integer that specifies the number of palette entries.
public int getOffPalEntries()
Gets or sets a 32-bit unsigned integer that specifies the offset to the palette entries from the start of this record.
public void setOffPalEntries(int value)
Gets or sets a 32-bit unsigned integer that specifies the offset to the palette entries from the start of this record.
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-2016 Aspose Pty Ltd. All Rights Reserved.