Leadtools.Wia Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}

Return 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 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family

See Also