Visual Basic (Declaration) | |
---|---|
Public Property SaveToOneFile As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As WiaAcquireOptions Dim value As Boolean instance.SaveToOneFile = value value = instance.SaveToOneFile |
C# | |
---|---|
public bool SaveToOneFile {get; set;} |
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.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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7