Click or drag to resize

TwainMemoryWriteStructure Method (Object)

Writes a structure into the memory at 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 int WriteStructure(
	Object structure
)

Parameters

structure
Type: SystemObject
The structure to write.

Return Value

Type: Int32
The number of bytes written.
Exceptions
ExceptionCondition
Thrown if the TwainMemory has been disposed.
Thrown if the Position is invalid for writing this data.
Thrown if the structure is null (Nothing in VB).
Remarks
This method will increase the Position by the number of bytes structure requires.
See Also