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.
For C#/VB examples, refer to WindowLevelEffect.
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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)