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



Gets or sets an integer that specifies the size of the file.

Syntax

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

Return Value

An integer that specifies the size of the file.

Example

Refer to TwainSession.QueryFileSystem 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