The leading provider of version control solutions and TWAIN SDKs
  • Contact us









Hue Property

Description

Returns or sets the Hue value available within the Source. This is a runtime property.

ActiveX Edition Plug-in Edition Mac Edition
Since V8.0 Since V8.0 Not Supported

Data type

Long.

Syntax

ObjectName. Hue


Remarks

Using this property after calling OpenSource() method and before calling AcquireImage().

When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.


See also

HueMinValue property, HueMaxValue property, HueStepDelta property, HueDefaultValue property, IfAutoHue property

Sample

A JavaScript sample is provided.

<script language="javascript">

	function btnManageHue_onclick() {

            Webcam.OpenSource(); 

            Hue = Webcam.Hue;	//get the Hue value
            HueMinValue = Webcam.HueMinValue;//get the minimum Hue value
            HueMaxValue = Webcam.HueMaxValue;//get the maximum Hue value
            HueDefaultValue = Webcam.HueDefaultValue;//get the default Hue value
            HueStepDelta = Webcam.HueStepDelta;//get the Hue step delta
	
            Webcam.Hue = 1;//change the Hue value to 1
            Hue = Webcam.Hue;	//get the Hue value

	}

</script>