This example demonstrates how to set up several predefined compressions for black and white, grayscale and color image types.
Private Sub CmdSetCompression_Click()
ImgScan1.SetPageTypeCompressionOpts CustomSettings, BlackAndWhite1Bit,
CCITTGroup42D, G42DFaxRBO
ImgScan1.SetPageTypeCompressionOpts CustomSettings, Gray8Bit,
JPEGCompression, JPEGHighHigh
ImgScan1.SetPageTypeCompressionOpts CustomSettings, TrueColor24bitRGB,
LZWCompression, LZWInfo
End Sub