VideoPlayer.FiltersInGraphShowPropertyPage method |
|
Remarks
If available, displays the property page of the given DirectShow filter available inside the filters graph of the loaded video clip. The availability of the property page can be determined through the VideoPlayer.FiltersInGraphHasPropertyPage method.
This method always creates a modal dialog box and does not return until the dialog box is closed.
For further details about the use of the embedded video player see the VideoPlayer class section.
For details about video clips rendering refer to the How to play video files through DirectShow tutorial.
Syntax
[Visual Basic] Public Function FiltersInGraphShowPropertyPage ( nPlayerIndex as Int16, nFilterIndex as Int16 ) as enumErrorCodes |
[C#] public enumErrorCodes FiltersInGraphShowPropertyPage ( Int16 nPlayerIndex, Int16 nFilterIndex ); |
[C++] public: enumErrorCodes FiltersInGraphShowPropertyPage ( Int16 nPlayerIndex, Int16 nFilterIndex ); |
Parameter |
Description |
|
|
nPlayerIndex |
Number representing the zero-based index of the player that will use the video player. |
nFilterIndex |
Number representing the zero-based index of the DirectShow filter. The total number of instanced DirectShow filters can be obtained using the VideoPlayer.FiltersInGraphGetCount method. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |