OverwriteExisting Property

Summary
Gets or sets a flag that indicates whether to overwrite any existing files found with the same name(s).
Syntax
C#
VB
C++
public bool OverwriteExisting { get; set; } 
  
Public Property OverwriteExisting As Boolean 
public: 
property bool OverwriteExisting { 
   bool get(); 
   void set (    bool ); 
} 

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.

Remarks

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

Example

Refer to WiaSession.AcquireToFile example.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.