LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
WindowLevelEffect Constructor(RasterImage)
See Also 
Leadtools.Windows.Media.Effects Namespace > WindowLevelEffect Class > WindowLevelEffect Constructor : WindowLevelEffect Constructor(RasterImage)



image
The LEADTOOLS Leadtools.RasterImage containing the grayscale image.
Initializes a new instance of the WindowLevelEffect class with the specified parameters. Supported in Silverlight

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal image As RasterImage _
)
Visual Basic (Usage)Copy Code
Dim image As RasterImage
 
Dim instance As New WindowLevelEffect(image)
C# 
public WindowLevelEffect( 
   RasterImage image
)
C++/CLI 
public:
WindowLevelEffect( 
   RasterImage^ image
)

Parameters

image
The LEADTOOLS Leadtools.RasterImage containing the grayscale image.

Example

For C#/VB examples, refer to WindowLevelEffect.

Remarks

Use this constructor to initialize a WindowLevelEffect to work on the specified Leadtools.RasterImage. You can also use the default constructor and then call the FillGrayTexture method to apply to a LEADTOOLS Leadtools.RasterImage.

Both of these methods will automatically initialize the GrayTexture property with the required brush to use by this effect.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also