From 809d06784d27dc4a4d5ba13259cb62851aef11b6 Mon Sep 17 00:00:00 2001 From: soukoku Date: Wed, 18 Feb 2015 21:55:07 -0500 Subject: [PATCH] Updated readme. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6b81a24..54bb286 100644 --- a/README.md +++ b/README.md @@ -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); }