ImageMan.Net Version 3 Summer 2012 Release
Value Property
See Also  Send Feedback
DTI.ImageMan.Commands Namespace > BrightnessCommand Class : Value Property





Glossary Item Box

Gets or Sets the Brightness Value to be applied to the image.

Syntax

Visual Basic (Declaration) 
Public Property Value As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As BrightnessCommand
Dim value As System.Integer
 
instance.Value = value
 
value = instance.Value
C# 
public System.int Value {get; set;}
JScript 
public function get,set Value : System.int
Managed Extensions for C++ 
public: __property System.int get_Value();
public: __property void set_Value( 
   System.int value
);
C++/CLI 
public:
property System.int Value {
   System.int get();
   void set (    System.int value);
}

Remarks

The acceptable range is from -255 making the image entirely black, to +255 making the image entirely white. This command is cumulative, so two calls to increase brightness of 127 will make the image entirely white. It is also not symmetrical as image data is lost due to clamping. So a call to brightness of -125 followed by another call with a brightness value of 125 will be duller then the original image.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.