This property refers to the compression format of the preview image.
[Delphi] previewcontrolname.Compression[
= DWord ]
Property Value
The compression format.
Explanation
The Compression property refers to the compression format of the preview image.
This property is updated when the GetStreamFormat, GetStreamFormats, Open, SetStreamFormat, or ShowCapturePinDialog methods are executed.
When the image is uncompressed, the value of the Compression property will be 0(BI_RGB) or 3(BI_BITFIELDS). For details about what the values in these parentheses, please refer to Windows API from which these values were taken and have the same meaning. For compressed images, the value set in the Compression property will be values according to FOURCC code.
Setting this value
This value cannot be set
Retrieving this value
This value can be retrieved at run-time.