using NTwain.Data;
using NTwain.Internals;
namespace NTwain.Triplets
{
///
/// Represents .
///
public sealed class CieColor : OpBase
{
internal CieColor(ITwainStateInternal session) : base(session) { }
///
/// This operation causes the Source to report the currently active parameters to be used in
/// converting acquired color data into CIE XYZ.
///
/// Color data.
///
public ReturnCode Get(out TWCieColor cieColor)
{
Session.VerifyState(4, 6, DataGroups.Image, DataArgumentType.CieColor, Message.Get);
cieColor = new TWCieColor();
return Dsm.DsmEntry(Session.AppId, Session.SourceId, Message.Get, cieColor);
}
}
}