Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
Data Property
See Also 
Leadtools.Twain Namespace > TwainMemoryData Structure : Data Property




Gets or sets memory data. The data type depends on the value in the Flags property.

Syntax

Visual Basic (Declaration) 
Public Property Data As IntPtr
Visual Basic (Usage)Copy Code
Dim instance As TwainMemoryData
Dim value As IntPtr
 
instance.Data = value
 
value = instance.Data
C# 
public IntPtr Data {get; set;}
Managed Extensions for C++ 
public: __property IntPtr get_Data();
public: __property void set_Data( 
   IntPtr value
);
C++/CLI 
public:
property IntPtr Data {
   IntPtr get();
   void set (IntPtr value);
}

Return Value

The memory data type depends on value of the Flags property.

Example

Refer to GetJpegCompression example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also