Copyright © 2001-2019 MultiMedia Soft

VideoPlayer.ImageAdjustPropertyGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the current value of a specific property related to image adjustment The value of the property can be modified through the VideoPlayer.ImageAdjustPropertySet 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.ImageAdjustPropertyGet (

nPlayer as Integer,

nProperty as enumVideoImageAdjustProps,

nValue as Long

) as enumErrorCodes


 

[C++]

short control.VideoPlayer.ImageAdjustPropertyGet (

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 retrieve 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

Reference that, on return from the method call, will contain the 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