Fix wrong enum type for ICAP_AUTOSIZE.

This commit is contained in:
Eugene Wang
2025-12-19 10:59:03 -05:00
parent c7e649eb72
commit 2c443301ca
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
<PropertyGroup>
<!--change these in each release-->
<VersionPrefix>4.0.0.0</VersionPrefix>
<VersionSuffix>alpha.23</VersionSuffix>
<VersionSuffix>alpha.24</VersionSuffix>
<!--keep it the same until major # changes-->
<AssemblyVersion>4.0.0.0</AssemblyVersion>

View File

@@ -41,8 +41,8 @@ namespace NTwain.Caps
public CapWriter<TW_BOOL> ICAP_AUTOMATICROTATE => _icap_automaticrotate ??= new(_twain, CAP.ICAP_AUTOMATICROTATE, 1.8f);
CapWriter<TW_BOOL>? _icap_autosize;
public CapWriter<TW_BOOL> ICAP_AUTOSIZE => _icap_autosize ??= new(_twain, CAP.ICAP_AUTOSIZE, 2);
CapWriter<TWAS>? _icap_autosize;
public CapWriter<TWAS> ICAP_AUTOSIZE => _icap_autosize ??= new(_twain, CAP.ICAP_AUTOSIZE, 2);
CapWriter<TW_BOOL>? _icap_barcodedetectionenabled;