Leadtools TWAIN (Leadtools.Twain assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
FileName Property
See Also 
Leadtools.Twain Namespace > TwainTransferOptions Structure : FileName Property



Gets or sets the file name to use when transferring data from the current TWAIN source. This property is valid only if the TransferMode property is set to TwainTransferFile.

Syntax

Visual Basic (Declaration) 
Public Property FileName As String
Visual Basic (Usage)Copy Code
Dim instance As TwainTransferOptions
Dim value As String
 
instance.FileName = value
 
value = instance.FileName
C# 
public string FileName {get; set;}
C++/CLI 
public:
property String^ FileName {
   String^ get();
   void set (    String^ value);
}

Property Value

The file name to use when transferring data from the current TWAIN source. This property is valid only if the TransferMode property is set to TwainTransferFile.

Example

Remarks

Gets or sets the file name to use when transferring data from the current TWAIN source. This property is valid only if the TransferMode property is set to TwainTransferFile.

To update this property with the current value, call the Leadtools.Twain.TwainSession.TransferOptions property.

To set the file name, assign a new value to this property and call the Leadtools.Twain.TwainSession.TransferOptions property.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also