←Select platform

SaveToOneFile Property

Summary

Gets or sets a flag that indicates whether to save multiple pages to a single file.

Syntax

C#
VB
C++
public bool SaveToOneFile { get; set; } 
  
Public Property SaveToOneFile As Boolean 
public: 
property bool SaveToOneFile { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

Flag that indicates whether to save multiple pages to a single file. Possible values are: true to save to a single file, false to save acquired pages to separate files. The default value is false.

Remarks

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

If the SaveToOneFile member is set to false and also the WiaAcquireOptions.OverwriteExisting member is set to false, the acquire functions will generate a new file for each acquired page from the device by generating new names of the name you specified through the WiaAcquireOptions.FileName member by adding "(N)" to the end of the file name where N represents an incremented number. If the new name currently exists it will keep generating new names until it finds a new one. If the OverwriteExisting member is set to true then the acquire functions will generate a new name and check whether it exists. If it does it overwrites that file.

Example

Refer to WiaSession.AcquireToFile example.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly