您好,
我在设置扫描仪纸张大小的时候 每次提示 invalid capability value,
我的代码如下: 请帮忙解决下,谢谢了.
using (TwainCapability twnCap = new TwainCapability())
{
twnCap.Information.Type = TwainCapabilityType.ImageSupportedSizes;
twnCap.Information.ContainerType = TwainContainerType.OneValue;
twnCap.OneValueCapability.ItemType = TwainItemType.Uint16;
twnCap.OneValueCapability.Value=(UInt16)TwainCapabilityValue.SupportedSizesA4;
_twnSession.SetCapability(twnCap, TwainSetCapabilityMode.Set);
|
|