Class EmfSetColorSpace

Class EmfSetColorSpace

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

The EMR_SETCOLORSPACE record defines the current logical color space object for graphics operations.

public sealed class EmfSetColorSpace : EmfObjectManipulationRecordType

Inheritance

object MetaObject EmfRecord EmfObjectManipulationRecordType EmfSetColorSpace

Inherited Members

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

Remarks

The logical color space object defined by this record MUST be used in drawing operations that are specified by subsequent EMF records, until either a different logical color space object is specified by another EMR_SETCOLORSPACE record, or the object is removed by a EMR_DELETECOLORSPACE record.

Constructors

EmfSetColorSpace(EmfRecord)

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

public EmfSetColorSpace(EmfRecord source)

Parameters

source EmfRecord

The source.

Properties

IhCS

Gets or sets a 32-bit unsigned integer that specifies the index of a logical color space object in the EMF Object Table (section 3.1.1.1).

public int IhCS { get; set; }

Property Value

int

Remarks

This object is either a WMF LogColorSpace or LogColorSpaceW object ([MS-WMF] sections 2.2.2.11 and 2.2.2.12, respectively).

 English