VideoPlayer.FullscreenMonitorActivate method |
|
Remarks
Activates or deactivates the full screen mode over a specific monitor previously predisposed for going full screen through the VideoPlayer.FullscreenMonitorPredispose method.
You can determine if full screen is currently activated on a specific monitor through the VideoPlayer.FullscreenMonitorIsActivated method.
For details about full screen management refer to the How to render video clips in full screen tutorial.
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 FullscreenMonitorActivate ( nPlayerIndex as Int16, nMonitorIndex as Int32, bActivate as Boolean ) as enumErrorCodes |
[C#] public enumErrorCodes FullscreenMonitorActivate ( Int16 nPlayerIndex, Int32 nMonitorIndex, bool bActivate ); |
[C++] public: enumErrorCodes FullscreenMonitorActivate ( Int16 nPlayerIndex, Int32 nMonitorIndex, bool bActivate ); |
Parameter |
Description |
||||||
|
|
||||||
nPlayer |
Number representing the zero-based index of the player that will use the video player. |
||||||
nMonitorIndex |
Number representing the zero-based index of the monitor that must render the video clip in full screen. The total number of installed monitors can be obtained using the VideoPlayer.FullscreenMonitorCountGet method. |
||||||
bActivate |
Boolean value that specifies if full screen must be activated or deactivated. Supported values are the following:
|
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. |