Class EmfCreateColorSpace
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)
The EMR_CREATECOLORSPACE record creates a logical color space object from a color profile with aname consisting of ASCII characters.
public sealed class EmfCreateColorSpace : EmfObjectCreationRecordType
{
public int Index;
public ColorSpaceType Type;
public int Data;
public ushort NumberOfComponents;
public uint RedComponentGTRIRed;
public uint GreenComponentGTRIRed;
public uint BlueComponentGTRIRed;
public uint AlphaComponentGTRIRed;
}
Inheritance
object ← MetaObject ← EmfRecord ← EmfObjectCreationRecordType ← EmfCreateColorSpace
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 can be selected into the playback device contextby an EMR_SETCOLORSPACE record (section 2.3.8.7), which defines the logical color space to use insubsequent graphics operations.
Constructors
EmfCreateColorSpace(EmfRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfCreateColorSpace class.
public EmfCreateColorSpace(EmfRecord source)
{
}
Parameters
source
EmfRecord
The source.
Properties
IhCS
Gets or sets a 32-bit unsigned integer that specifies the index of the logical color spaceobject in the EMF object table (section 3.1.1.1). This index MUST be saved so that this objectcan be reused or modified.
public int IhCS
{
get;
set;
}
Property Value
Lcs
Gets or sets a WMF LogColorSpace object ([MS-WMF] section 2.2.2.11), which can specifythe name of a color profile in ASCII characters.
public WmfLogColorSpace Lcs
{
get;
set;
}