Exposed public triplets through twain source class instead.

This commit is contained in:
soukoku
2014-05-23 19:01:18 -04:00
parent b0142127d7
commit 2dc64224ae
5 changed files with 83 additions and 54 deletions

View File

@@ -1,5 +1,6 @@
using NTwain.Data;
using NTwain.Internals;
using NTwain.Triplets;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -182,6 +183,40 @@ namespace NTwain
}
}
/// <summary>
/// Gets the triplet operations defined for control data group.
/// </summary>
public DGControl DGControl
{
get
{
return _session.DGControl;
}
}
/// <summary>
/// Gets the triplet operations defined for image data group.
/// </summary>
public DGImage DGImage
{
get
{
return _session.DGImage;
}
}
/// <summary>
/// Gets the direct triplet operation entry for custom values.
/// </summary>
public DGCustom DGCustom
{
get
{
return _session.DGCustom;
}
}
#endregion
#region INotifyPropertyChanged Members