←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 Leadtools.RasterImage _ 
) 
public: 
WindowLevelEffect(  
   Leadtools.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Media.Effects Assembly