mirror of
https://github.com/soukoku/ntwain.git
synced 2026-02-25 13:04:07 +08:00
Updated readme.
This commit is contained in:
@@ -97,7 +97,7 @@ and the wrapper makes it easy to do that (see example below):
|
|||||||
#!c#
|
#!c#
|
||||||
|
|
||||||
// The wrapper has many methods that corresponds to the TWAIN capability triplet msgs like
|
// 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)
|
// (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;
|
PixelType myValue = PixelType.BlackWhite;
|
||||||
|
|
||||||
if (myDS.ICapPixelType.CanSet &&
|
if (myDS.ICapPixelType.CanSet &&
|
||||||
myDS.ICapPixelType.Get().Contains(myValue))
|
myDS.ICapPixelType.GetValues().Contains(myValue))
|
||||||
{
|
{
|
||||||
myDS.ICapPixelType.Set(myValue);
|
myDS.ICapPixelType.SetValue(myValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user