EmfSetColorSpace

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfObjectManipulationRecordType

public final class EmfSetColorSpace extends EmfObjectManipulationRecordType

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

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

ConstructorDescription
EmfSetColorSpace(EmfRecord source)Initializes a new instance of the EmfSetColorSpace class.

Methods

MethodDescription
getIhCS()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).
setIhCS(int value)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).

EmfSetColorSpace(EmfRecord source)

public EmfSetColorSpace(EmfRecord source)

Initializes a new instance of the EmfSetColorSpace class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getIhCS()

public int getIhCS()

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

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

Returns: int

setIhCS(int value)

public void setIhCS(int value)

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

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

Parameters:

ParameterTypeDescription
valueint