Class EmfCreatePalette

EmfCreatePalette class

The EMR_CREATEPALETTE record defines a logical palette for graphics operations.

public sealed class EmfCreatePalette : EmfObjectCreationRecordType

Constructors

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

Properties

NameDescription
IhPal { get; set; }Gets or sets a 32-bit unsigned integer that specifies the index of the logical palette object in the EMF Object Table (section 3.1.1.1). This index MUST be saved so that this object can be reused or modified.
LogPalette { get; set; }Gets or sets a LogPalette object (section 2.2.17). The Version field of this object MUST be set to 0x0300. If the NumberOfEntries value in this object is zero, processing of this record MUST fail.
Size { get; set; }Gets or sets the size of the record
Type { get; set; }Gets or sets the type.

See Also