AviCompressor.ShowPropertyPage Method

Shows the property page of the AviCompressor, if available. If a property page is not available, an error is returned.
public void ShowPropertyPage();

This example shows how to display the property page of the avi compressor (codec) that is currently selected in a combo box:

AviCompressor AviComp = AviCompressor.AviCompressors[0]; if( AviComp.PropertyPageAvailable ) { AviComp.ShowPropertyPage(); } else { // The AVI compressor has no property page. }

How to use avi compressors is shown in the Capturing an AVI File sample.

See Also: AviCompressor, AviCompressor.PropertyPageAvailable

<< AviCompressor