Saves the selected images in buffer to base64 string.
| ActiveX Edition | Plug-in Edition | Mac Edition |
|---|---|---|
| Since V6.2 | Since V6.2 | Not Supported |
Uint32 ObjectName. SaveSelectedImagesToBase64Binary()
The method should be called after GetSelectedImageSize method.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.
When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
SaveAsTIFF(), SaveAsJPEG(), SaveAsBMP(), SaveAsPNG(), FTPUpload(), FTPDownload(), HTTPUploadThroughPut(), HTTPUploadThroughPost(), HTTPDownload(), AllowMultiSelect, SaveSelectedImagesToBytes, LoadImageFromBase64Binary
Javascript Sample:
var imagedata; WebTWAIN.SelectedImagesCount = 2; WebTWAIN.SelectedImageIndex[0] = 4;// Set the 5th image as the first selected image. WebTWAIN.SelectedImageIndex[1] = 3;// Set the 4th image as the second selected image. WebTWAIN.GetSelectedImagesSize(1); //jpeg imagedata = WebTWAIN.SaveSelectedImagesToBase64Binary(); WebTWAIN.LoadImageFromBase64Binary(imagedata,1); alert(WebTWAIN.ErrorString);
TWAIN ActiveX |
TWAIN Plug-in |
TWAIN Control |
TWAIN SDK |
Scanner COM
Software Configuration Management |
Version Control |
Source Control
Copyright © 2012 Dynamsoft Corporation. All Rights Reserved.