Class WmfLogColorSpaceW

Class WmfLogColorSpaceW

Namespace: Aspose.Imaging.FileFormats.Wmf.Objects
Assembly: Aspose.Imaging.dll (25.4.0)

The LogColorSpaceW object specifies a logical color space, which can be defined by a color profile file with a name consisting of Unicode 16-bit characters.

public class WmfLogColorSpaceW : MetaObject

Inheritance

objectMetaObjectWmfLogColorSpaceW

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Remarks

See the Aspose.Imaging.FileFormats.Wmf.Objects.WmfLogColorSpace object (section 2.2.2.11) for additional details concerning the interpretation of field values of this object.

Constructors

WmfLogColorSpaceW()

public WmfLogColorSpaceW()

Properties

ColorSpaceType

Gets or sets a 32-bit signed integer that specifies the color space type. It MUST be defined in the LogicalColorSpace enumeration (section 2.1.1.14). If this value is LCS_sRGB or LCS_WINDOWS_COLOR_SPACE, the sRGB color space MUST be used.

public WmfLogicalColorSpaceEnum ColorSpaceType { get; set; }

Property Value

WmfLogicalColorSpaceEnum

Endpoints

Gets or sets a CIEXYZTriple object (section 2.2.2.7) that defines the CIE chromaticity x, y, and z coordinates of the three colors that correspond to the RGB Aspose.Imaging.FileFormats.Wmf.Objects.WmfLogColorSpaceW.endpoints for the logical color space associated with the bitmap. If the Aspose.Imaging.FileFormats.Wmf.Objects.WmfLogColorSpaceW.ColorSpaceType field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.

public WmfCieXyzTriple Endpoints { get; set; }

Property Value

WmfCieXyzTriple

Filename

Gets or sets an optional, null-terminated Unicode UTF16-LE character string, which specifies the name of a file that contains a color profile. If a file name is specified, and the Aspose.Imaging.FileFormats.Wmf.Objects.WmfLogColorSpaceW.ColorSpaceType field is set to LCS_CALIBRATED_RGB, the other fields of this structure SHOULD be ignored.

public string Filename { get; set; }

Property Value

string

GammaBlue

Gets or sets a 32-bit fixed point value that defines the toned response curve for blue. If the Aspose.Imaging.FileFormats.Wmf.Objects.WmfLogColorSpaceW.ColorSpaceType field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.

public int GammaBlue { get; set; }

Property Value

int

GammaGreen

Gets or sets a 32-bit fixed point value that defines the toned response curve for green. If the Aspose.Imaging.FileFormats.Wmf.Objects.WmfLogColorSpaceW.ColorSpaceType field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.

public int GammaGreen { get; set; }

Property Value

int

GammaRed

Gets or sets a 32-bit fixed point value that defines the toned response curve for red. If the Aspose.Imaging.FileFormats.Wmf.Objects.WmfLogColorSpaceW.ColorSpaceType field does not specify LCS_CALIBRATED_RGB, this field MUST be ignored.

public int GammaRed { get; set; }

Property Value

int

Intent

Gets or sets a 32-bit signed integer that defines the gamut mapping intent. It MUST be defined in the GamutMappingIntent enumeration (section 2.1.1.11).

public WmfGamutMappingIntent Intent { get; set; }

Property Value

WmfGamutMappingIntent

Signature

Gets or sets a 32-bit unsigned integer that specifies the Aspose.Imaging.FileFormats.Wmf.Objects.WmfLogColorSpaceW.signature of color space objects; it MUST be set to the value 0x50534F43, which is the ASCII encoding of the string “PSOC”.

public int Signature { get; set; }

Property Value

int

Size

Gets or sets a 32-bit unsigned integer that defines the Aspose.Imaging.FileFormats.Wmf.Objects.WmfLogColorSpaceW.size of this object, in bytes.

public int Size { get; set; }

Property Value

int

Version

Gets or sets a 32-bit unsigned integer that defines a Aspose.Imaging.FileFormats.Wmf.Objects.WmfLogColorSpaceW.version number; it MUST be0x00000400.

public int Version { get; set; }

Property Value

int