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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Allocate(
int memorySize
)
Public Sub Allocate (
memorySize As Integer
)
Parameters
- memorySize
- Type: SystemInt32
The number of bytes to allocate.
Exceptions Exception | Condition |
---|
| Thrown if the memorySize argument is less than or equal to zero. |
| Thrown if the allocation failed. |
Examples ITwainDataStructure Interface
See Also