Click or drag to resize

TwainMemoryAllocate Method

Call this method to allocate memory for this object. If memory has already been allocated, it will be released before allocation new memory.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.1.0.0.0.321 (.NET 4.5.2, x86)
Syntax
public void Allocate(
	int memorySize
)

Parameters

memorySize
Type: SystemInt32
The number of bytes to allocate.
Exceptions
ExceptionCondition
Thrown if the memorySize argument is less than or equal to zero.
Thrown if the allocation failed.
Examples
ITwainDataStructure Interface
See Also