Available in the LEADTOOLS Imaging toolkit. |
Transfer Options Example for Visual Basic
Private Sub TestTransferOptions()
RasterTwain.GetTransferOptions
RasterTwain.TransferMode = L_TWAIN_TRANSFER_FILE
RasterTwain.TransferFileName = "c:\\test.bmp"
RasterTwain.TransferFileFormat = L_TWFF_BMP
RasterTwain.TransferCompressionType = L_TWCP_NONE
RasterTwain.SetTransferOptions
If RasterTwain.IsFileTransferAvailable Then
MsgBox "File transfer is supported"
End If
If RasterTwain.IsMemoryTransferAvailable Then
MsgBox "Memory transfer is supported"
End If
If RasterTwain.IsNativeTransferAvailable Then
MsgBox "Native transfer is supported"
End If
End Sub