Class EmfSetIcmProfileW

Class EmfSetIcmProfileW

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

The EMR_SETICMPROFILEW record specifies a color profile in a file with a name consisting of Unicode characters, for graphics output.

public sealed class EmfSetIcmProfileW : EmfStateRecordType

Inheritance

objectMetaObjectEmfRecordEmfStateRecordTypeEmfSetIcmProfileW

Inherited Members

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

Constructors

EmfSetIcmProfileW(EmfRecord)

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

public EmfSetIcmProfileW(EmfRecord source)

Parameters

source EmfRecord

The source.

Properties

CbData

Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.

public int CbData { get; set; }

Property Value

int

CbName

Gets or sets a 32-bit unsigned integer that specifies the number of bytes in the Unicode UTF16-LE name of the desired color profile.

public int CbName { get; set; }

Property Value

int

Data

Gets or sets an array of size (cbName + cbData) in bytes, which specifies the UTF16-LE name and raw data of the desired color profile.

public byte[] Data { get; set; }

Property Value

byte[]

DwFlags

Gets or sets a 32-bit unsigned integer that contains color profile flags.

public int DwFlags { get; set; }

Property Value

int

Name

Gets the name

public string Name { get; }

Property Value

string

RawData

Gets the raw data

public byte[] RawData { get; }

Property Value

byte[]