Flags property (ITwainMemoryData)

Visual Basic example

Visual C++ example

 

Syntax

long Flags

Overview

Refer to Using JPEG Compression for a TWAIN Source.

Remarks

Gets or sets a value that identifies how the memory data in the Data property is presented. Possible values are:

Value

Description

TWMF_APPOWNS

[0x1] Memory data is application information.

TWMF_DSMOWNS

[0x2] Memory data is Twain data source manager information.

TWMF_DSOWNS

[0x4] Memory data is Twain data source information.

TWMF_POINTER

[0x8] Memory data is user data in a pointer.

TWMF_HANDLE

[0x10] Memory data is user data in a handle.

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, Length property, Data property

Topics

TWAIN Functionality: JPEG Compression Functions