Remarks
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 class section.
For details about video clips rendering refer to the How to play video files through DirectShow tutorial.
Syntax
[Visual Basic]
Public Function FrameGrabberOutputResizeSet (
nPlayerIndex as Int16,
nOutputWidth as Int32,
nOutputHeight as Int32
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes FrameGrabberOutputResizeSet (
Int16 nPlayerIndex,
Int32 nOutputWidth,
Int32 nOutputHeight
);
|
|
[C++]
public: enumErrorCodes FrameGrabberOutputResizeSet (
Int16 nPlayerIndex,
Int32 nOutputWidth,
Int32 nOutputHeight
);
|
|
Parameter
|
Description
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the player that will use the video player.
|
nOutputWidth
|
The width, expressed in pixels, of the output pictures
|
nOutputHeight
|
The height, expressed in pixels, of the output pictures
|
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.
|
|