LEADTOOLS WIA (Leadtools.Wia assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
OverwriteExisting Property
See Also 
Leadtools.Wia Namespace > WiaAcquireOptions Structure : OverwriteExisting Property



Gets or sets a flag that indicates whether to overwrite any existing files found with the same name(s).

Syntax

Visual Basic (Declaration) 
Public Property OverwriteExisting As Boolean
Visual Basic (Usage)Copy Code
Dim instance As WiaAcquireOptions
Dim value As Boolean
 
instance.OverwriteExisting = value
 
value = instance.OverwriteExisting
C# 
public bool OverwriteExisting {get; set;}
C++/CLI 
public:
property bool OverwriteExisting {
   bool get();
   void set (    bool value);
}

Property Value

Flag that indicates whether to overwrite any existing files found with the same name(s). Possible values are: true to overwrite the existing file, false to generate new name(s) for the saved file(s) by adding an incremented number within braces. This is the default value.

Example

Refer to WiaSession.AcquireToFile example.

Remarks

Note: This member is ignored when using WIA version 2.0.

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