AviCompressor.ShowPropertyPage Method

Shows the property page of the AviCompressor, if available. If a property page is not available, an error is returned.
Syntax:
[C#]
public void ShowPropertyPage();
Sample:

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

[C#]
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