Fixed getter typo in TW_CIEPOINT.

This commit is contained in:
Eugene Wang
2018-11-15 20:07:54 -05:00
parent 546b885a0f
commit be8291521e
3 changed files with 7 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ This project has these features/goals:
* Targets latest TWAIN version (2.4 as of this writing)
* Supports all the TWAIN functions in the spec (may never happen but will be close).
* Works with both 32 and 64 bit data sources (eventually)
## Using the lib

View File

@@ -22,6 +22,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>7.1</LangVersion>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -33,6 +34,9 @@
<WarningLevel>4</WarningLevel>
<LangVersion>7.1</LangVersion>
</PropertyGroup>
<PropertyGroup>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />

View File

@@ -836,11 +836,11 @@ namespace NTwain.Data
/// <summary>
/// First tri-stimulus value of the CIE space representation.
/// </summary>
public float X { get { return _z; } }
public float X { get { return _x; } }
/// <summary>
/// Second tri-stimulus value of the CIE space representation.
/// </summary>
public float Y { get { return _z; } }
public float Y { get { return _y; } }
/// <summary>
/// Third tri-stimulus value of the CIE space representation.
/// </summary>