Copyright © 2001-2018 MultiMedia Soft

VideoPlayer.FullscreenMonitorActivate method

Previous pageReturn to chapter overviewNext page

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 object section.

For details about video clips rendering refer to the How to play video files through DirectShow tutorial.

 

 

Syntax

 

[Visual Basic]

control.VideoPlayer.FullscreenMonitorActivate (

nPlayer as Integer,

nMonitorIndex as Integer,

bActivate as enumBoolean

) as enumErrorCodes


 

[C++]

short control.VideoPlayer.FullscreenMonitorActivate (

short nPlayer,

short nMonitorIndex,

short 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:

Mnemonic constant

Value

Meaning

BOOL_FALSE

0

Deactivates full screen

BOOL_TRUE

1

Activates full screen

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful