Click or drag to resize

TwainMemoryReadUInt16 Method

Reads a TW_UINT16 from the current Position and advances the position.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public ushort ReadUInt16()

Return Value

Type: UInt16
The ushort value at the current position.
Exceptions
ExceptionCondition
Thrown if the TwainMemory has been disposed.
Thrown if the Position is invalid for reading this data.
Remarks
This method will increase the Position by 2 bytes.
See Also