mirror of
https://github.com/soukoku/ntwain.git
synced 2025-11-08 02:24:46 +08:00
Fixed xml doc ref.
This commit is contained in:
@@ -88,7 +88,7 @@ namespace NTwain.Data
|
||||
public ItemType ItemType { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the one value if container is <see cref="ContainerType.Array"/>.
|
||||
/// Gets the one value if container is <see cref="NTwain.Values.ContainerType.Array"/>.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The one value.
|
||||
@@ -96,7 +96,7 @@ namespace NTwain.Data
|
||||
public object OneValue { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the collection values if container is <see cref="ContainerType.Enum"/> or <see cref="ContainerType.Range"/> .
|
||||
/// Gets the collection values if container is <see cref="NTwain.Values.ContainerType.Enum"/> or <see cref="NTwain.Values.ContainerType.Range"/> .
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The collection values.
|
||||
@@ -108,11 +108,11 @@ namespace NTwain.Data
|
||||
#region enum prop
|
||||
|
||||
/// <summary>
|
||||
/// Gets the current value index if container is <see cref="ContainerType.Enum"/>.
|
||||
/// Gets the current value index if container is <see cref="NTwain.Values.ContainerType.Enum"/>.
|
||||
/// </summary>
|
||||
public int EnumCurrentIndex { get; private set; }
|
||||
/// <summary>
|
||||
/// Gets the default value index if container is <see cref="ContainerType.Enum" />.
|
||||
/// Gets the default value index if container is <see cref="NTwain.Values.ContainerType.Enum" />.
|
||||
/// </summary>
|
||||
public int EnumDefaultIndex { get; private set; }
|
||||
|
||||
@@ -121,14 +121,14 @@ namespace NTwain.Data
|
||||
#region range prop
|
||||
|
||||
/// <summary>
|
||||
/// Gets the current value if container is <see cref="ContainerType.Range" />.
|
||||
/// Gets the current value if container is <see cref="NTwain.Values.ContainerType.Range" />.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The range current value.
|
||||
/// </value>
|
||||
public object RangeCurrentValue { get; private set; }
|
||||
/// <summary>
|
||||
/// Gets the default value if container is <see cref="ContainerType.Range" />.
|
||||
/// Gets the default value if container is <see cref="NTwain.Values.ContainerType.Range" />.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The range default value.
|
||||
|
||||
@@ -46,9 +46,11 @@
|
||||
<AssemblyOriginatorKeyFile>Sign.snk</AssemblyOriginatorKeyFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="WindowsBase" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AsyncPump.cs" />
|
||||
|
||||
@@ -888,6 +888,9 @@ namespace NTwain
|
||||
TWImageMemXfer xferInfo = new TWImageMemXfer();
|
||||
try
|
||||
{
|
||||
// how to tell if going to xfer in strip vs tile?
|
||||
// if tile don't allocate memory in app?
|
||||
|
||||
xferInfo.Memory = new TWMemory
|
||||
{
|
||||
Flags = MemoryFlags.AppOwns | MemoryFlags.Pointer,
|
||||
@@ -971,6 +974,7 @@ namespace NTwain
|
||||
string finalFile = null;
|
||||
try
|
||||
{
|
||||
// no strip or tile here, just chunks
|
||||
xferInfo.Memory = new TWMemory
|
||||
{
|
||||
Flags = MemoryFlags.AppOwns | MemoryFlags.Pointer,
|
||||
|
||||
@@ -171,7 +171,6 @@ namespace NTwain
|
||||
/// </summary>
|
||||
/// <param name="session">The session.</param>
|
||||
/// <param name="capabilityId">The capability unique identifier.</param>
|
||||
/// <param name="tryUpperWord">if set to <c>true</c> then apply to workaround for certain bad sources.</param>
|
||||
/// <returns></returns>
|
||||
public static IList<object> GetCapabilityValues(this TwainSession session, CapabilityId capabilityId)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace NTwain
|
||||
{
|
||||
/// <summary>
|
||||
/// A customized TWAIN session for use in WPF environment.
|
||||
/// Use this by using <see cref="PreFilterMessage"/> method as the target of <see cref="HwndSource.AddHook"/> delegate.
|
||||
/// Use this by using <see cref="PreFilterMessage"/> method as the target of <see cref="System.Windows.Interop.HwndSource.AddHook"/> delegate.
|
||||
/// </summary>
|
||||
public class TwainSessionWPF : TwainSession
|
||||
{
|
||||
@@ -30,7 +30,7 @@ namespace NTwain
|
||||
public IntPtr PreFilterMessage(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled)
|
||||
{
|
||||
var winmsg = new MESSAGE(hwnd, msg, wParam, lParam);
|
||||
|
||||
|
||||
handled = base.HandleWndProcMessage(ref winmsg);
|
||||
|
||||
return IntPtr.Zero;
|
||||
|
||||
Reference in New Issue
Block a user