Copyright © 2005-2019 MultiMedia Soft

VideoPlayer.ImageAdjustPropertyRangeGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the range of values supported by a specific property related to image adjustment.

 

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 ImageAdjustPropertyRangeGet (

nPlayerIndex as Int16,

nProperty as enumVideoImageAdjustProps,

ByRef nValueMin as Int32,

ByRef nValueMax as Int32,

ByRef nValueDefault as Int32,

ByRef nValueStepping as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ImageAdjustPropertyRangeGet (

Int16 nPlayerIndex,

enumVideoImageAdjustProps nProperty,

ref Int32 nValueMin,

ref Int32 nValueMax,

ref Int32 nValueDefault,

ref Int32 nValueStepping

);


 

[C++]

public: enumErrorCodes ImageAdjustPropertyRangeGet (

Int16 nPlayerIndex,

enumVideoImageAdjustProps nProperty,

Int32 __gc *nValueMin,

Int32 __gc *nValueMax,

Int32 __gc *nValueDefault,

Int32 __gc *nValueStepping

);


 

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

nValueMin

Reference that, on return from the method call, will contain the minimum value that can be set into the given property

nValueMax

Reference that, on return from the method call, will contain the maximum value that can be set into the given property

nValueDefault

Reference that, on return from the method call, will contain the default value for the given property

nValueStepping

Reference that, on return from the method call, will contain the stepping value that can be used for setting a new value into the given property

 

 

 

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.