Click or drag to resize

TwainMemoryWriteStructure Method (Object, Int64)

Writes a structure to memory at the specified memory offset.

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,
	long offset
)

Parameters

structure
Type: SystemObject
The structure to write.
offset
Type: SystemInt64
The number of bytes from the beginning of the memory to the start of the data.

Return Value

Type: Int32
Exceptions
ExceptionCondition
Thrown if the TwainMemory has been disposed.
Thrown if the offset is invalid for this TwainMemory object.
Thrown if the structure is null (Nothing in VB).
Remarks
This method does not change the Position of the TwainMemory object.
See Also