TwainSetCompression Method (GdPictureImaging)
Tries to set the current image compression to use by the selected twain source for file transfer
mode.
Since only certain file formats support compression, this capability must be negotiated after setting
the desired file format with the TwainSetImageFileFormat() method.
'Declaration
Public Function TwainSetCompression( _
ByVal As TwainCompression _
) As Boolean
Parameters
- Compression
- Image compression. A member of the TwainCompression enumeration.
Return Value
True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode()
methods for diagnosing the error.