Copyright © 2001-2018 MultiMedia Soft

VideoPlayer.FrameGrabberOutputResizeSet method

Previous pageReturn to chapter overviewNext page



Predisposes the resizing of pictures generated from frames grabbed from a video clip by a grabbing session that will be started through a later call to one between the VideoPlayer.FrameGrabberExecToFile and VideoPlayer.FrameGrabberExecToMemory methods.


For further details about frames grabbing see the How to grab frames from video files 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.





[Visual Basic]

control.VideoPlayer.FrameGrabberOutputResizeSet (

nPlayer as Integer,

nOutputWidth as Long,

nOutputHeight as Long

) as enumErrorCodes



short control.VideoPlayer.FrameGrabberOutputResizeSet (

short nPlayer,

long nOutputWidth,

long nOutputHeight








Number representing the zero-based index of the player that will use the video player.


The width, expressed in pixels, of the output pictures


The height, expressed in pixels, of the output pictures



Return value






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