VideoPlayer.ImageAdjustPropertySet method |
|
Remarks
Modifies the value of a specific property related to image adjustment The current value of the property can be retrieved through the VideoPlayer.ImageAdjustPropertyGet method.
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.ImageAdjustPropertySet ( nPlayer as Integer, nProperty as enumVideoImageAdjustProps, nValue as Long ) as enumErrorCodes |
[C++] short control.VideoPlayer.ImageAdjustPropertySet ( short nPlayer, short nProperty, long nValue ); |
Parameter |
Description |
||||||||||||||||||
|
|
||||||||||||||||||
nPlayer |
Number representing the zero-based index of the player that will use the video player. |
||||||||||||||||||
nProperty |
The property for which we need to modify the current value. Supported values are the following:
|
||||||||||||||||||
nValue |
The new property value. The minimum, maximum, default and stepping values for the given property can be retrieved through the VideoPlayer.ImageAdjustPropertyRangeGet method. |
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 |