Length property (ITwainMemoryData)

Visual Basic example

Visual C++ example

 

Syntax

long Length

Overview

Refer to Using JPEG Compression for a TWAIN Source.

Remarks

Gets or sets the size of the data buffer in bytes.

The value of this property should always be an even number and word-aligned.

This property is updated through the QuantTable, HuffmanDC and HuffmanAC properties by calling the GetJPEGCompression method.

This property is set through the QuantTable, HuffmanDC and HuffmanAC properties when the SetJPEGCompression method is called.

See Also

Elements

JPEGCompressionData property, Flags property, Data property

Topics

TWAIN Functionality: JPEG Compression Functions