1
0
mirror of https://github.com/soukoku/ntwain.git synced 2025-04-05 20:59:23 +08:00

Updated readme.

This commit is contained in:
soukoku 2015-02-18 21:55:07 -05:00
parent 6f49adb06d
commit 809d06784d

View File

@ -97,7 +97,7 @@ and the wrapper makes it easy to do that (see example below):
#!c#
// The wrapper has many methods that corresponds to the TWAIN capability triplet msgs like
// Get(), GetCurrent(), GetDefault(), Set(), etc.
// GetValues(), GetCurrent(), GetDefault(), SetValue(), etc.
// (see TWAIN pdf doc for reference)
@ -107,9 +107,9 @@ and the wrapper makes it easy to do that (see example below):
PixelType myValue = PixelType.BlackWhite;
if (myDS.ICapPixelType.CanSet &&
myDS.ICapPixelType.Get().Contains(myValue))
myDS.ICapPixelType.GetValues().Contains(myValue))
{
myDS.ICapPixelType.Set(myValue);
myDS.ICapPixelType.SetValue(myValue);
}