Copyright © 2005-2018 MultiMedia Soft

VideoPlayer.ImageAdjustPropertySet method

Previous pageReturn to chapter overviewNext page

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 mixer see the VideoMixer object section.

For details about video mixing/blending refer to the How to use the video mixer tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function ImageAdjustPropertySet (

nPlayerIndex as Int16,

nProperty as enumVideoImageAdjustProps,

nValue as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ImageAdjustPropertySet (

Int16 nPlayerIndex,

enumVideoImageAdjustProps nProperty,

Int32 nValue

);


 

[C++]

public: enumErrorCodes ImageAdjustPropertySet (

Int16 nPlayerIndex,

enumVideoImageAdjustProps nProperty,

Int32 nValue

);


 

Parameter

Description

 

 

nPlayerIndex

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:

Mnemonic value

Value

Meaning

VIDEO_IMAGE_ADJUST_BRIGHTNESS

0

Brightness

VIDEO_IMAGE_ADJUST_CONTRAST

1

Contrast

VIDEO_IMAGE_ADJUST_SATURATION

2

Saturation

VIDEO_IMAGE_ADJUST_HUE

3

Hue

VIDEO_IMAGE_ADJUST_GAMMA_CORRECTION

4

Gamma Correction

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 (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.