Accusoft TwainPRO 8
SaveFile Method
See Also  Send comments on this topic.
FileName
A string representation of a legal file name (path) to which the file will be saved.
AccusoftTwainPro8 ActiveX DLL > TwainPro Object : SaveFile Method

Glossary Item Box

Description

Saves the current acquired DIB as a file given a path and file name.

Syntax

Visual Basic
Public Sub SaveFile( _
   ByVal FileName As String _
) 

Parameters

FileName
A string representation of a legal file name (path) to which the file will be saved.

Remarks

A valid FTP address can also be specified for the path, provided the FTPUserName and FTPPassword properties are set appropriately for the ftp server specified in the path. The bitmap saved will be the same bits per pixel and color depth as the current DIB.

This method can be used to specify the format of the file. If the SaveFileType property is set to TP_SaveFileType_Default, one of the following valid file extensions need to be used: .bmp, .jpg, .pic, .tif., and .pdf.

See Also

©2013. Accusoft Corporation. All Rights Reserved.