ntwain/NTwain/Triplets/DGImage/DGImage.ExtImageInfo.cs

20 lines
577 B
C#
Raw Normal View History

2014-04-03 07:13:15 +08:00
using NTwain.Data;
2014-04-21 04:57:38 +08:00
using NTwain.Internals;
2014-04-03 07:01:21 +08:00
namespace NTwain.Triplets
{
2014-04-05 10:19:16 +08:00
/// <summary>
/// Represents <see cref="DataArgumentType.ExtImageInfo"/>.
/// </summary>
2014-04-03 07:01:21 +08:00
public sealed class ExtImageInfo : OpBase
{
internal ExtImageInfo(ITwainSessionInternal session) : base(session) { }
2014-04-03 07:01:21 +08:00
2014-04-10 19:30:00 +08:00
public ReturnCode Get(out TWExtImageInfo info)
2014-04-03 07:01:21 +08:00
{
Session.VerifyState(7, 7, DataGroups.Image, DataArgumentType.ExtImageInfo, Message.Get);
2014-04-10 19:30:00 +08:00
info = new TWExtImageInfo();
2014-04-16 18:53:05 +08:00
return Dsm.DsmEntry(Session.AppId, Session.SourceId, Message.Get, info);
2014-04-03 07:01:21 +08:00
}
}
}