←Select platform

WindowLevelEffect Constructor(RasterImage)

Summary
Initializes a new instance of the WindowLevelEffect class with the specified parameters.
Syntax
C#
VB
C++
  
Public Function New( _ 
   ByVal image As RasterImage _ 
) 
public: 
WindowLevelEffect(  
   RasterImage^ image 
) 

Parameters

image
The LEADTOOLS Leadtools.RasterImage containing the grayscale image.

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.

Example

For C#/VB examples, refer to WindowLevelEffect.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Media.Effects Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.