Leadtools.WinForms.CommonDialogs.Color Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
Factor Property
See Also 
Leadtools.WinForms.CommonDialogs.Color Namespace > RasterWindowLevelDialog Class : Factor Property




Gets or sets the factor to be applied in the method operation specified in the Mode drop-down list box in the LUT Curve section of the Window Leveling dialog box.

Syntax

Visual Basic (Declaration) 
Public Property Factor As Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterWindowLevelDialog
Dim value As Integer
 
instance.Factor = value
 
value = instance.Factor
C# 
public int Factor {get; set;}
Managed Extensions for C++ 
public: __property int get_Factor();
public: __property void set_Factor( 
   int value
);
C++/CLI 
public:
property int Factor {
   int get();
   void set (int value);
}

Return Value

Represents the factor to be applied in the method operation specified in the specified in the Mode drop-down list box in the LUT Curve section of the Window Leveling dialog box. This parameter is used only if the Mode selected is RasterPaletteWindowLevelFlags.Exponential, RasterPaletteWindowLevelFlags.Logarithmic or RasterPaletteWindowLevelFlags.Sigmoid. If RasterPaletteWindowLevelFlags.Exponential or RasterPaletteWindowLevelFlags.Sigmoid is specified, its value can be any integer (+1000/-1000). If RasterPaletteWindowLevelFlags.Logarithmic is specified, its value should be >= 0. If factor = 0, the lookup table will be filled linearly.

Example

Refer to RasterWindowLevelDialog example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also