This property retrieves the compression format for the preview image.

[Visual Basic] Public ReadOnly Property Compression As Integer
[C#] public int Compression {get;}

Property Value

An integer representing the compression format. ReadOnly

Explanation

The Compression property retrieves the compression format for the preview image.

This property is refreshed after executing the Open, SetStreamFormat, or ShowPenDialog methods.

If the image is uncompressed then 0(BI_RGB) or 3(BI_BITFIELDS) is retrieved. For details about the constants within the parentheses, please refer to Windows API. If the image is compressed, an appropriate FourCC code will be retrieved.

See Also

Preview Members | Newtone.ImageKit.Win.WebCamera.Preview

 

The ImageKit.NET3 is created by Newtone Corporation