Scanner ActiveX Control

Save

 

Save the current view image to other image format and pdf format. If you rotate the image in display area and save to other format. The new image file will rotate the image.

Public Function Save( _
   ByVal strFileName As String, _
   ByVal strFileType As String _
) As Integer

 

Parameter

strFileName 
   the new file you want to save.

strFileType
 the Image format you want to save.
 JPG - JPEG file.
 PNG - PNG file.
 GIF - GIF file.
 EMF - EMF file.
 TIF - TIF file.
 BMP - BMP file.
 PDF - PDF file.
 PSD - PSD file.

Return Value

Return 1 - successful
Return 0 - Failed


Example

   

Visual Basic Syntax
Scanner1.Save "c:\newphoto1", "JPG" 'save to JPEG file

Scanner1.Save "c:\newphoto2", "GIF" 'save to GIF file