Class EmfEof

EmfEof class

The EMR_EOF record indicates the end of the metafile and specifies a palette.

public sealed class EmfEof : EmfControlRecordType

Constructors

NameDescription
EmfEof()Initializes a new instance of the EmfEof class.
EmfEof(EmfRecord)Initializes a new instance of the EmfEof class.

Properties

NameDescription
PaletteArgb32Entries { get; set; }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
Size { get; set; }Gets or sets the size of the record
SizeLast { get; set; }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.
Type { get; set; }Gets or sets the type.

See Also