Class EmfSelectPalette

Class EmfSelectPalette

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.2.0)

The EMR_SELECTPALETTE record specifies a logical palette for the playback device context.

public sealed class EmfSelectPalette : EmfObjectManipulationRecordType

Inheritance

objectMetaObjectEmfRecordEmfObjectManipulationRecordTypeEmfSelectPalette

Inherited Members

EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EmfSelectPalette(EmfRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfSelectPalette class.

public EmfSelectPalette(EmfRecord source)

Parameters

source EmfRecord

The source.

Properties

IhPal

Gets or sets a 32-bit unsigned integer that specifies either the index of a LogPalette object (section 2.2.17) in the EMF Object Table or the value DEFAULT_PALETTE, which is the index of a stock object palette from the StockObject enumeration (section 2.1.31).

public int IhPal { get; set; }

Property Value

int

Remarks

This value MUST NOT be zero or the index of any other stock object.