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



Gets or sets the size of the data buffer in bytes. This value should always be an even number and word-aligned.

Syntax

Visual Basic (Declaration) 
Public Property Length As Integer
Visual Basic (Usage)Copy Code
Dim instance As TwainMemoryData
Dim value As Integer
 
instance.Length = value
 
value = instance.Length
C# 
public int Length {get; set;}
C++/CLI 
public:
property int Length {
   int get();
   void set (int value);
}

Return Value

The size of the data buffer in bytes. The value of this property should always be an even number and word-aligned.

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