Copyright © 2001-2019 MultiMedia Soft

VideoPlayer.FullscreenMonitorPositionGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the screen coordinates of the given monitor as assigned by the system.

 

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.FullscreenMonitorPositionGet (

nMonitorIndex as Integer,

nLeft as Long,

nTop as Long,

nWidth as Long,

nHeight as Long

) as enumErrorCodes


 

[C++]

short control.VideoPlayer.FullscreenMonitorPositionGet (

short nMonitorIndex,

long *nLeft,

long *nTop,

long *nWidth,

long *nHeight

);


 

 

Parameter

Description

 

 

nMonitorIndex

Number representing the zero-based index of the monitor. The total number of installed monitors can be obtained using the VideoPlayer.FullscreenMonitorCountGet method.

nLeft

Reference that, on return from the method call, will contain the left position of the monitor expressed in screen coordinates (pixels)

nTop

Reference that, on return from the method call, will contain the top position of the monitor expressed in screen coordinates (pixels)

nWidth

Reference that, on return from the method call, will contain the width of the monitor expressed in pixels

nHeight

Reference that, on return from the method call, will contain the height of the monitor expressed in pixels

 

 

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