using NTwain.Data; using NTwain.Internals; namespace NTwain.Triplets { /// /// Represents . /// sealed class ExtImageInfo : TripletBase { internal ExtImageInfo(ITwainSessionInternal session) : base(session) { } /// /// This operation is used by the application to query the data source for extended image attributes. /// The application is responsible for creating and disiposing the info object. /// /// The information. /// public ReturnCode Get(TWExtImageInfo info) { Session.VerifyState(7, 7, DataGroups.Image, DataArgumentType.ExtImageInfo, Message.Get); return Dsm.DsmEntry(Session.AppId, Session.CurrentSource.Identity, Message.Get, info); } } }