Table of Contents

Class EmfSetColorSpace

Namespace
Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly
Aspose.Imaging.dll

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

public sealed class EmfSetColorSpace : EmfObjectManipulationRecordType
Inheritance
EmfSetColorSpace
Inherited Members

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 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).